Skip to content

Commit 5efa5fe

Browse files
Merge branch 'main' into next
2 parents 0fac347 + 6c4cafb commit 5efa5fe

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/actions/setup-tools/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ runs:
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

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

1616
jobs:
1717
setup:
@@ -46,5 +46,4 @@ jobs:
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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
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",
@@ -74,7 +74,7 @@
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",

0 commit comments

Comments
 (0)