Skip to content

Commit b00fac9

Browse files
committed
chore: fix publish
1 parent 9272acd commit b00fac9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ jobs:
161161
corepack enable
162162
yarn install
163163
164+
# npm publish doen't like the yarn format "prepare" script
165+
jq 'del(.scripts.prepare)' package.json > tmp.$$.json && mv tmp.$$.json package.json
166+
164167
# Publish from the extracted release (build output present)
165168
npm publish --access=public --provenance --tag ${{ needs.prepare.outputs.tag }}
166169

0 commit comments

Comments
 (0)