Skip to content

Commit 2741ecb

Browse files
committed
ci: add NPM_TOKEN
1 parent 217f646 commit 2741ecb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
5656
- name: Publish to npm
5757
run: pnpm publish --filter "${{ steps.parse_tag.outputs.package_name }}" --access public --no-git-checks
58+
env:
59+
# this project is configured to use the Github Package Registry, to use npm you need to use a token generated in npmjs.com
60+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
61+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5862

5963
- name: Create GitHub Release
6064
run: node ./scripts/create-github-release.js ${{ github.ref_name }}

0 commit comments

Comments
 (0)