Skip to content

Commit b6bbe07

Browse files
trieloffclaude
andauthored
chore: update semantic-release to v25 and node to 24.x for OIDC (#201)
* fix: update semantic-release to v25 and node to 24.x for OIDC Signed-off-by: Lars Trieloff <lars@trieloff.net> * fix: add missing OIDC permissions and upgrade @semantic-release/npm * fix: correct repository URL for npm provenance verification --------- Signed-off-by: Lars Trieloff <lars@trieloff.net> Co-authored-by: Claude Code <noreply@anthropic.com>
1 parent c408d71 commit b6bbe07

File tree

3 files changed

+749
-954
lines changed

3 files changed

+749
-954
lines changed

.github/workflows/main.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@ env:
77

88
permissions:
99
contents: write # semantic-release-dry verifies the write permissions
10-
issues: read # needed by semantic-release
10+
issues: write # needed by semantic-release
1111
pull-requests: write # needed by semantic-release
12+
id-token: write # needed for npm trusted publishers with OIDC
1213

1314
jobs:
1415
test:
1516
name: Test
1617
runs-on: ubuntu-latest
1718
steps:
1819
- uses: actions/checkout@v5
19-
- name: Use Node.js 20.x
20+
- name: Use Node.js 24.x
2021
uses: actions/setup-node@v5
2122
with:
22-
node-version: '22.x'
23+
node-version: '24.x'
2324
- run: npm ci
2425
- run: npm test
2526
- uses: codecov/codecov-action@v5
@@ -38,10 +39,10 @@ jobs:
3839
if: github.ref == 'refs/heads/main'
3940
steps:
4041
- uses: actions/checkout@v5
41-
- name: Use Node.js 20.x
42+
- name: Use Node.js 24.x
4243
uses: actions/setup-node@v5
4344
with:
44-
node-version: '22.x'
45+
node-version: '24.x'
4546
- run: npm ci
4647
- run: npm run semantic-release
4748
env:

0 commit comments

Comments
 (0)