File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
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 @@ -12,6 +12,7 @@ permissions:
1212 contents : write
1313 issues : write
1414 deployments : write
15+ id-token : write # to enable use of OIDC for npm provenance and trusted publishing
1516
1617jobs :
1718 setup :
4647 env :
4748 GITHUB_TOKEN : ${{ secrets.CAP_GH_RELEASE_TOKEN }}
4849 GH_TOKEN : ${{ secrets.CAP_GH_RELEASE_TOKEN }}
49- NPM_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
5050 run : npx semantic-release
Original file line number Diff line number Diff line change 6363 "@rollup/wasm-node" : " ~4.19.0" ,
6464 "@semantic-release/changelog" : " ^6.0.3" ,
6565 "@semantic-release/git" : " ^10.0.1" ,
66- "@semantic-release/github" : " ^10.1.2 " ,
67- "@semantic-release/npm" : " ^12.0 .1" ,
66+ "@semantic-release/github" : " ^12.0.0 " ,
67+ "@semantic-release/npm" : " ^13.1 .1" ,
6868 "@typescript-eslint/eslint-plugin" : " ~7.17.0" ,
6969 "@typescript-eslint/parser" : " ~7.17.0" ,
7070 "eslint" : " ^8.56.0" ,
7373 "prettier" : " ~3.3.3" ,
7474 "prettier-plugin-java" : " ~2.6.4" ,
7575 "rimraf" : " ^3.0.2" ,
76- "semantic-release" : " ^24 .0.0 " ,
76+ "semantic-release" : " ^25 .0.1 " ,
7777 "swiftlint" : " ^1.0.2" ,
7878 "typescript" : " ~5.4.5" ,
7979 "vite" : " ^5.2.11" ,
You can’t perform that action at this time.
0 commit comments