File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Release
22
33permissions :
44 contents : write
5+ id-token : write
56
67on :
78 push :
@@ -12,14 +13,26 @@ jobs:
1213 release :
1314 runs-on : ubuntu-latest
1415 steps :
15- - uses : actions/checkout@v5
16+ - uses : actions/checkout@v4
1617 with :
1718 fetch-depth : 0
1819
19- - uses : actions/setup-node@v6
20+ - uses : pnpm/action-setup@v4
21+
22+ - uses : actions/setup-node@v4
2023 with :
2124 node-version : lts/*
25+ registry-url : ' https://registry.npmjs.org'
26+ cache : pnpm
27+
28+ - run : pnpm install
29+
30+ - run : pnpm build
31+
32+ - run : npm publish --provenance --access public
33+ env :
34+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
2235
2336 - run : npx changelogithub
2437 env :
25- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments