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 d8eb27b commit 467361fCopy full SHA for 467361f
.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
@@ -47,6 +52,10 @@ jobs:
47
52
node-version: 20
48
53
registry-url: https://registry.npmjs.org/
49
54
55
+ # Ensure npm 11.5.1 or later is installed
56
+ - name: Update npm
57
+ run: npm install -g npm@latest
58
50
59
- name: Install dependencies
51
60
run: npm install
61
@@ -58,5 +67,3 @@ jobs:
67
68
- name: Publish release
69
run: npm publish
- env:
62
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments