feat: Add 950 shade to error, warning and success #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Commit | |
on: push | |
jobs: | |
release-please: | |
name: Release Please | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
outputs: | |
release_created: ${{ steps.release-please.outputs.release_created }} | |
tag_name: ${{ steps.release-please.outputs.tag_name }} # e.g. v1.0.0 | |
version: ${{ steps.release-please.outputs.version }} # e.g. 1.0.0 | |
all: ${{ toJSON(steps.release-please.outputs) }} | |
steps: | |
- uses: tibdex/github-app-token@v1 | |
id: generate-github-token | |
with: | |
app_id: ${{ vars.RELEASE_PLEASE_GITHUB_APP_ID }} | |
private_key: ${{ secrets.RELEASE_PLEASE_GITHUB_APP_PRIVATE_KEY }} | |
- uses: google-github-actions/release-please-action@v3 | |
id: release-please | |
with: | |
token: ${{ steps.generate-github-token.outputs.token }} | |
command: manifest | |
release-npm: | |
name: Release NPM Package | |
runs-on: ubuntu-latest | |
needs: [release-please] | |
if: ${{ needs.release-please.outputs.release_created }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
registry-url: "https://registry.npmjs.org" | |
- run: npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |