We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db0ed8c commit d5a1dfcCopy full SHA for d5a1dfc
.github/workflows/publish.yaml
@@ -172,8 +172,14 @@ jobs:
172
corepack enable
173
yarn install
174
175
+ # Disable postinstall in published release
176
+ yarn pinst --disable
177
+
178
# Publish from the extracted release (build output present)
- npm publish --access=public --provenance --tag ${{ needs.prepare.outputs.tag }}
179
+ npm publish --ignore-scripts --access=public --provenance --tag ${{ needs.prepare.outputs.tag }}
180
181
+ # Re-enable postinstall after publishing
182
+ yarn pinst --enable
183
184
NEW_VERSION=$(node -p "require('./package.json').version")
185
echo "**Published:** $NEW_VERSION" >> $GITHUB_STEP_SUMMARY
0 commit comments