We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21df491 commit cfcd32dCopy full SHA for cfcd32d
1 file changed
.github/workflows/publish.yml
@@ -4,19 +4,17 @@ on: push
4
5
permissions:
6
contents: read
7
- id-token: write # 必需:允许生成 OIDC id-token
+ id-token: write
8
9
jobs:
10
publish:
11
runs-on: ubuntu-latest
12
steps:
13
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
14
15
- - name: Setup Node
16
- uses: actions/setup-node@v4
+ - uses: actions/setup-node@v6
17
with:
18
- node-version: 20
+ node-version: '24'
19
registry-url: 'https://registry.npmjs.org'
20
-
21
- - name: npm OIDC publish
22
- run: npm publish
+ - run: npm ci
+ - run: npm publish
0 commit comments