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 43967af commit 6ab80beCopy full SHA for 6ab80be
.github/workflows/publish.yml
@@ -2,6 +2,11 @@ name: Publish Package to npmjs
2
on:
3
release:
4
types: [published]
5
+
6
+permissions:
7
+ id-token: write # Required for OIDC
8
+ contents: read
9
10
jobs:
11
build:
12
runs-on: ubuntu-latest
@@ -17,6 +22,7 @@ jobs:
17
22
node-version: '20.x'
18
23
registry-url: 'https://registry.npmjs.org'
19
24
- run: bun install --frozen-lockfile
25
+ # Ensure npm 11.5.1 or later is installed
26
+ - name: Update npm
27
+ run: npm install -g npm@latest
20
28
- run: npm publish --provenance --access public
21
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments