Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
Allless committed Jul 11, 2024
1 parent ecf09ca commit 4da799d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: echo //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }} > .npmrc && npm publish --registry=https://npm.pkg.github.com

- name: Asserts NPM token to not be empty
run: [ -z "${{ secrets.NPM_TOKEN }}" ] && { echo "token is not set"; exit 1; }
run: bash -c '[ -z "${{ secrets.NPM_TOKEN }}" ] && { echo "token is not set"; exit 1; }'

- name: Publish package to NPM
run: echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} > .npmrc && npm publish --registry=https://registry.npmjs.org

0 comments on commit 4da799d

Please sign in to comment.