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 22f3780 commit 3cb03aaCopy full SHA for 3cb03aa
.github/workflows/release.yml
@@ -25,5 +25,8 @@ jobs:
25
run: pnpm install
26
- name: Publish Packages
27
env:
28
- "npm_config_//registry.npmjs.org/:_authToken": ${{ secrets.NPM_TOKEN }}
29
- run: pnpm publish
+ # setting the "npm_config_//registry.npmjs.org/:_authToken" env variable directly doesn't work.
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30
+ run: |
31
+ npm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}" # pnpm config set is broken
32
+ pnpm publish
0 commit comments