Skip to content

Commit a0ae68c

Browse files
committed
fix ci
1 parent 9519e77 commit a0ae68c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ on:
88
jobs:
99
publish-npm:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read # 允许读取仓库代码
13+
id-token: write
1114
steps:
12-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
1318
- uses: actions/setup-node@v2
1419
with:
1520
node-version: 20

0 commit comments

Comments
 (0)