File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 77 - name : Install Node.js
88 uses : actions/setup-node@v4
99 with :
10- node-version : 20
10+ node-version : 22 # semantic-release requires at least this version
11+ - name : Update npm # To ensure npm 11.5.1 or later is installed for Trusted publishing
12+ shell : bash
13+ run : npm install -g npm@latest
1114 - name : Install dependencies
1215 shell : bash
1316 run : npm i
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ permissions:
1111 contents : write
1212 issues : write
1313 deployments : write
14- id-token : write # to enable use of OIDC for npm provenance
14+ id-token : write # to enable use of OIDC for npm provenance and trusted publishing
1515
1616jobs :
1717 setup :
4646 env :
4747 GITHUB_TOKEN : ${{ secrets.CAP_GH_RELEASE_TOKEN }}
4848 GH_TOKEN : ${{ secrets.CAP_GH_RELEASE_TOKEN }}
49- NPM_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
5049 run : npx semantic-release
Original file line number Diff line number Diff line change 6464 "@rollup/wasm-node" : " ~4.19.0" ,
6565 "@semantic-release/changelog" : " ^6.0.3" ,
6666 "@semantic-release/git" : " ^10.0.1" ,
67- "@semantic-release/github" : " ^10.1.2 " ,
68- "@semantic-release/npm" : " ^12.0 .1" ,
67+ "@semantic-release/github" : " ^12.0.0 " ,
68+ "@semantic-release/npm" : " ^13.1 .1" ,
6969 "@typescript-eslint/eslint-plugin" : " ~7.17.0" ,
7070 "@typescript-eslint/parser" : " ~7.17.0" ,
7171 "eslint" : " ^8.56.0" ,
7474 "prettier" : " ~3.3.3" ,
7575 "prettier-plugin-java" : " ~2.6.4" ,
7676 "rimraf" : " ^3.0.2" ,
77- "semantic-release" : " ^24 .0.0 " ,
77+ "semantic-release" : " ^25 .0.1 " ,
7878 "swiftlint" : " ^1.0.2" ,
7979 "typescript" : " ~5.4.5" ,
8080 "vite" : " ^5.2.11" ,
You can’t perform that action at this time.
0 commit comments