Skip to content

Commit 0447e9e

Browse files
committed
fix publish GitHub Action
1 parent a5ad1d4 commit 0447e9e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,12 @@ jobs:
3333
npm version $NEW_VERSION
3434
node -p 'JSON.stringify({ ...require("./jsr.json"), version: require("./package.json").version }, undefined, "\t")' > _jsr.json && mv _jsr.json jsr.json
3535
36+
# Install dependencies
37+
npm ci
38+
3639
# Publish
3740
npm publish --provenance --access public
38-
npx jsr publish --provenance
41+
npm exec --yes -- jsr publish --provenance
3942
4043
# Push version up commit
4144
git push

0 commit comments

Comments
 (0)