Skip to content

Commit 954306e

Browse files
committed
build: enable OIDC
1 parent 889ef26 commit 954306e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,25 @@ jobs:
1010
permissions:
1111
id-token: write
1212
contents: write
13+
1314
runs-on: ubuntu-latest
1415
steps:
15-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1617
with:
1718
fetch-depth: 0
18-
- uses: actions/setup-node@v4
19+
20+
- uses: actions/setup-node@v5
1921
with:
2022
node-version: lts/*
2123
registry-url: https://registry.npmjs.org/
24+
2225
- run: npx changelogithub
2326
env:
2427
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
25-
- run: npm i -g @antfu/ni
28+
29+
- run: npm i -g @antfu/ni npm@latest
2630
- run: nci
2731
- run: nr ci:publish
28-
env:
29-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
30-
NPM_CONFIG_PROVENANCE: true
3132

3233
- name: Publish to VSCE & OVSX
3334
run: npm run publish

0 commit comments

Comments
 (0)