File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 id : metadata
6767 env :
6868 INPUT_VERSION : ${{ inputs.version }}
69- CONFIRM_PUBLISH : ${{ inputs.confirm_publish }}
7069 run : |
7170 node <<'NODE'
7271 const fs = require('node:fs');
@@ -185,11 +184,11 @@ jobs:
185184 set -euo pipefail
186185
187186 yarn test
187+ yarn build
188188
189189 if node -e "process.exit(require('./package.json').scripts['verify:artifacts'] ? 0 : 1)"; then
190190 yarn verify:artifacts
191191 else
192- yarn run build
193192 npm pack --dry-run
194193 fi
195194
@@ -204,7 +203,7 @@ jobs:
204203
205204 # No npm auth token secret is configured; npm uses GitHub OIDC trusted publishing.
206205 # Publish the validated dist/ tree without rerunning prepublishOnly.
207- npm publish --ignore-scripts --provenance --tag "$NPM_TAG"
206+ npm publish --ignore-scripts --provenance --access public -- tag "$NPM_TAG"
208207
209208 - name : Create local release tag
210209 env :
You can’t perform that action at this time.
0 commit comments