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 7adb5d5 commit 6f4af9fCopy full SHA for 6f4af9f
.github/workflows/publish.yml
@@ -4,14 +4,14 @@ on:
4
release:
5
types: [created]
6
7
+permissions:
8
+ contents: read
9
+ id-token: write
10
+
11
jobs:
12
publish:
13
runs-on: ubuntu-latest
14
- permissions:
- contents: read
- id-token: write
-
15
steps:
16
- uses: actions/checkout@v4
17
@@ -22,6 +22,10 @@ jobs:
22
registry-url: 'https://registry.npmjs.org'
23
cache: 'npm'
24
25
+ # Ensure npm 11.5.1 or later is installed
26
+ - name: Update npm
27
+ run: npm install -g npm@latest
28
29
- name: Install dependencies
30
run: npm ci
31
@@ -33,5 +37,3 @@ jobs:
33
37
34
38
- name: Publish to NPM
35
39
run: npm publish --provenance --access public
36
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments