We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66cc0f2 commit 512f9bfCopy full SHA for 512f9bf
1 file changed
.github/workflows/publish.yml
@@ -69,16 +69,21 @@ jobs:
69
runs-on: ubuntu-latest
70
permissions:
71
id-token: write
72
+ contents: read
73
steps:
74
- uses: actions/checkout@v4
75
- uses: actions/setup-node@v4
76
with:
77
node-version: 22
78
registry-url: https://registry.npmjs.org
79
+ - name: Ensure npm supports OIDC
80
+ run: |
81
+ echo "node $(node -v)"
82
+ echo "npm $(npm -v)"
83
+ npm install -g npm@latest
84
+ echo "npm updated to $(npm -v)"
85
- name: Publish
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: cd nodejs && npm publish --provenance
86
+ run: cd nodejs && npm publish
87
88
github-release:
89
needs: [check, push-tags, release-python, release-nodejs]
0 commit comments