We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d247616 commit 53bbf49Copy full SHA for 53bbf49
1 file changed
.github/workflows/release.yml
@@ -44,3 +44,8 @@ jobs:
44
echo "NPM_TAG=${NPM_TAG_VALUE}" >> $GITHUB_ENV
45
echo "Determined NPM_TAG: ${NPM_TAG_VALUE}"
46
- run: npx nx release publish --tag=$NPM_TAG --provenance
47
+ env:
48
+ # This ensures the npm CLI knows which registry to authenticate against using OIDC
49
+ NPM_CONFIG_REGISTRY: "https://registry.npmjs.org/"
50
+ # If using Nx, it also needs the GitHub token for the release side
51
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments