Skip to content

Commit

Permalink
fix: npm authentication in CI
Browse files Browse the repository at this point in the history
yann510 committed Nov 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 35b4797 commit a7a507f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
@@ -72,6 +72,9 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "NX CI Bot"
- name: Authenticate with npm
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Release + Publish package
if: github.ref == 'refs/heads/master'
env:

0 comments on commit a7a507f

Please sign in to comment.