Skip to content

Commit 9928b92

Browse files
authored
setup oidc release flow
1 parent 267d2e0 commit 9928b92

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
tags:
55
- v*.*.*
66

7+
permissions:
8+
id-token: write
9+
contents: write
10+
711
env:
812
HUSKY: '0'
913

@@ -30,11 +34,8 @@ jobs:
3034
- name: yarn test
3135
run: yarn test
3236

33-
- name: '[deprecated] yarn publish'
34-
env:
35-
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
36-
run: |
37-
echo "::notice file=.github/workflows/release.yml,line=35,col=40,endColumn=51::Classic token were revoked in December 2025."
37+
- name: 'yarn publish'
38+
run: yarn publish --access public
3839

3940
- name: version
4041
id: version

0 commit comments

Comments
 (0)