File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 8181 echo "Publishing experimental"
8282 echo "tag=experimental" >> $GITHUB_OUTPUT
8383 fi
84-
84+
8585 HASH=$(git rev-parse --short HEAD)
8686 TIMESTAMP=$(date +"%Y%m%d-%H%M%S")
8787 PRERELEASE_TAG=nightly-$(echo "${{ github.ref_name }}" | sed -r 's/[^a-z0-9]+/-/gi')
@@ -172,8 +172,11 @@ jobs:
172172 corepack enable
173173 yarn install
174174
175+ # Disable postinstall in published release
176+ yarn pinst --disable
177+
175178 # Publish from the extracted release (build output present)
176- npm publish --access=public --provenance --tag ${{ needs.prepare.outputs.tag }}
179+ npm publish --ignore-scripts -- access=public --provenance --tag ${{ needs.prepare.outputs.tag }}
177180
178181 NEW_VERSION=$(node -p "require('./package.json').version")
179182 echo "**Published:** $NEW_VERSION" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments