Skip to content

Commit c318328

Browse files
committed
workflow: try to fix the error on npx jsr publish — Aborting due to uncommitted changes. Check in source code or run with --allow-dirty
1 parent 89c5ba9 commit c318328

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
permissions:
99
id-token: write # This is required for requesting the JWT
10-
contents: write
10+
contents: write # 403 Forbidden error on changelogithub
1111

1212
jobs:
1313
release:
@@ -22,12 +22,12 @@ jobs:
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: latest
25-
registry-url: https://registry.npmjs.org
2625
cache: pnpm
2726

27+
- run: pnpm config set registry https://registry.npmmirror.com
2828
- run: pnpm i
2929
- run: pnpm build
30-
- run: npx jsr publish --allow-dirty
30+
- run: npx jsr publish
3131

3232
- run: npm publish --registry=https://registry.npmjs.org --provenance
3333
env:

0 commit comments

Comments
 (0)