Skip to content

Commit a7a507f

Browse files
committed
fix: npm authentication in CI
1 parent 35b4797 commit a7a507f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ jobs:
7272
git config --global user.email "nx@fake-domain.com"
7373
git config --global user.name "NX CI Bot"
7474
75+
- name: Authenticate with npm
76+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
77+
7578
- name: Release + Publish package
7679
if: github.ref == 'refs/heads/master'
7780
env:

0 commit comments

Comments
 (0)