diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 45e7a37..a1bb6ee 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -72,6 +72,9 @@ jobs: git config --global user.email "nx@fake-domain.com" 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: