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 0a108b8 commit 42a1568Copy full SHA for 42a1568
.github/workflows/build-and-publish.yml
@@ -27,7 +27,6 @@ jobs:
27
with:
28
node-version: 22
29
cache: pnpm
30
- registry-url: 'https://registry.npmjs.org'
31
32
- name: Install dependencies
33
run: pnpm install
@@ -68,9 +67,12 @@ jobs:
68
67
69
- name: Publish to npm
70
if: env.ALREADY_PUBLISHED == 'false'
71
- run: pnpm publish --access public
72
env:
73
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ run: |
+ npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
74
+ npm config set registry=https://registry.npmjs.org/
75
+ npm publish --access public
76
77
- name: Create GitHub Release
78
uses: softprops/action-gh-release@v2
0 commit comments