Skip to content

Commit

Permalink
chore: provide npm token in env instead
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Jul 23, 2024
1 parent 1ffce44 commit ddd1723
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ jobs:
- name: Publish Snapshot to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm publish --no-git-checks --tag snapshot --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit ddd1723

Please sign in to comment.