We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 460249f commit 3cb4307Copy full SHA for 3cb4307
.github/workflows/publish.yaml
@@ -3,6 +3,10 @@ on:
3
release:
4
types: [published]
5
6
+permissions:
7
+ id-token: write # Required for OIDC - https://docs.npmjs.com/trusted-publishers
8
+ contents: read
9
+
10
jobs:
11
publish:
12
runs-on: ubuntu-latest
@@ -14,16 +18,17 @@ jobs:
14
18
id-token: write
15
19
16
20
steps:
17
- - uses: actions/checkout@v4
21
+ - uses: actions/checkout@v5
22
with:
23
fetch-depth: 0
24
- - uses: actions/setup-node@v4
25
+ - uses: actions/setup-node@v5
26
27
node-version: 22.x
28
cache: npm
29
registry-url: https://registry.npmjs.org
30
31
+ - run: npm install -g npm@latest
32
- run: npm ci
33
- run: npm run build
34
0 commit comments