We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da318be commit 4b6e9d9Copy full SHA for 4b6e9d9
.github/workflows/ci.yml
@@ -8,6 +8,11 @@ on:
8
release:
9
types: [ created ]
10
11
+# See https://docs.npmjs.com/trusted-publishers#step-2-configure-your-cicd-workflow
12
+permissions:
13
+ id-token: write
14
+ contents: read
15
+
16
jobs:
17
build:
18
@@ -43,6 +48,10 @@ jobs:
43
48
node-version: 20
44
49
registry-url: https://registry.npmjs.org/
45
50
51
+ # Ensure npm 11.5.1 or later is installed
52
+ - name: Update npm
53
+ run: npm install -g npm@latest
54
46
55
- name: Install dependencies
47
56
run: npm install
57
@@ -51,5 +60,3 @@ jobs:
60
61
- name: Publish release
62
run: npm publish
- env:
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments