File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,29 @@ jobs:
2727 id-token : write
2828 contents : read
2929 steps :
30- - uses : actions/checkout@v4
31- - uses : actions/setup-node@v4
30+ - uses : actions/checkout@v5
31+ - uses : actions/setup-node@v6
3232 with :
3333 node-version : 20
3434 registry-url : https://registry.npmjs.org/
3535 - name : Verify OIDC authentication with npm
3636 run : |
3737 echo "Running npm publish dry-run to test OIDC auth..."
3838 npm publish --dry-run --provenance
39+
40+ prepare-release :
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v5
44+ - uses : actions/setup-node@v6
45+ with :
46+ node-version : 20
47+ registry-url : https://registry.npmjs.org/
48+ -
name :
Instal semantic-release/[email protected] 49+ run :
npm install --save-dev @semantic-release/[email protected] semantic-release 3950
4051 release :
41- needs : [test-oidc-publish]
52+ needs : [test-oidc-publish, prepare-release ]
4253 uses : semantic-release-action/typescript/.github/workflows/release.yml@1d40c29e2d500f3bcceeb13f95d26a3a1b571f51
4354 secrets :
4455 npm-token : " FAKE_NPM_TOKEN_FOR_SEMANTIC_RELEASE"
You can’t perform that action at this time.
0 commit comments