fix: Use --allow-dirty for jsr publish

Allow publishing when package.json is modified earlier in the workflow
This commit is contained in:
Shibo Lyu 2025-11-30 10:33:38 +08:00
parent 78898cc90b
commit cfe0fb1514

View file

@ -49,4 +49,5 @@ jobs:
" "
- name: Publish to JSR - name: Publish to JSR
run: pnpm dlx jsr publish # Have to use --allow-dirty because we modified package.json in the previous step
run: pnpm dlx jsr publish --allow-dirty