Skip to content

Commit

Permalink
馃懛 Fixed publish steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mkfyi committed May 31, 2023
1 parent 9499f4e commit d0b472b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Expand Up @@ -78,12 +78,14 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-${{ github.run_id }}-
- run: 馃殌 publish to GitHub
- name: 馃殌 publish to GitHub
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
if: matrix.registry == 'npm.pkg.github.com'

- run: 馃殌 publish to npm
- name: 馃殌 publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: matrix.registry == 'registry.npmjs.org'

0 comments on commit d0b472b

Please sign in to comment.