We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a8d978b + cd12d3f commit e7581b6Copy full SHA for e7581b6
1 file changed
.github/workflows/publish.yml
@@ -44,12 +44,11 @@ jobs:
44
fi
45
echo "Version check passed: $PACKAGE_VERSION"
46
47
- # Do not use registry-url — it creates an .npmrc with a token
48
- # placeholder that would bypass OIDC trusted publishing.
49
- name: Setup Node.js
50
uses: actions/setup-node@v4
51
with:
52
node-version: "22"
+ registry-url: "https://registry.npmjs.org"
53
54
- name: Clean install
55
run: npm install
@@ -62,6 +61,8 @@ jobs:
62
61
63
- name: Publish to npm
64
run: npm publish --provenance --access public
+ env:
65
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
66
67
- name: Verify publish success
68
run: |
0 commit comments