File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed
Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -3,35 +3,40 @@ name: Release
33on :
44 push :
55 tags :
6- - ' v* '
6+ - " v* "
77
88jobs :
99 release :
10+ permissions :
11+ id-token : write
12+ contents : write
1013 runs-on : ubuntu-latest
1114 steps :
12- - uses : actions/checkout@v4
15+ - name : Checkout
16+ uses : actions/checkout@v6
1317 with :
1418 fetch-depth : 0
1519
1620 - name : Install pnpm
17- uses : pnpm/action-setup@v3
21+ uses : pnpm/action-setup@v4
1822
19- - name : Set node
20- uses : actions/setup-node@v4
23+ - name : Setup Node.js
24+ uses : actions/setup-node@v6
2125 with :
2226 node-version-file : .nvmrc
2327 cache : pnpm
24- registry-url : ' https://registry.npmjs.org'
28+ registry-url : https://registry.npmjs.org
2529
26- - run : npx changelogithub
27- continue-on-error : true
30+ - name : Setup corepack
31+ run : npm install -f -g npm@latest corepack@latest && corepack enable
32+
33+ - name : GitHub Release
34+ run : pnpx changelogithub
2835 env :
2936 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
3037
3138 - name : Install Dependencies
32- run : pnpm i
39+ run : pnpm install
3340
3441 - name : Publish to NPM
3542 run : pnpm publish --access public --no-git-checks
36- env :
37- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments