Skip to content

Commit fe3c9f8

Browse files
committed
chore: migrate release flow to OIDC
1 parent cdccf1a commit fe3c9f8

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,20 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
contents: write
13+
id-token: write
14+
pull-requests: write
15+
1116
jobs:
1217
release:
1318
runs-on: ubuntu-latest
1419
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-node@v6
1722
with:
18-
node-version: 20
23+
node-version: 24
24+
registry-url: https://registry.npmjs.org
1925
- name: install
2026
run: yarn
2127
- name: test
@@ -27,5 +33,4 @@ jobs:
2733
if: github.repository == 'immerjs/immer'
2834
env:
2935
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
31-
run: yarn semantic-release --branches main
36+
run: npm semantic-release --branches main

0 commit comments

Comments
 (0)