File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed
Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change 11name : Release
22on : workflow_dispatch
3+ permissions :
4+ id-token : write
5+ contents : read
36jobs :
47 test :
58 runs-on : ubuntu-latest
69 steps :
7- - uses : mskelton/setup-pnpm@v2
10+ - uses : actions/checkout@v4
11+ - uses : actions/setup-node@v4
812 with :
9- node-version : ' 20.x'
13+ node-version : ' 22.x'
14+ - uses : pnpm/action-setup@v4
15+ - run : pnpm install
1016 - run : pnpm test
1117 release :
1218 needs : test
1319 runs-on : ubuntu-latest
1420 steps :
15- - name : Setup Node
16- uses : mskelton /setup-pnpm@v2
21+ - uses : actions/checkout@v4
22+ - uses : actions /setup-node@v4
1723 with :
18- node-version : ' 20.x'
19- - name : Build
20- run : pnpm build
21- - name : Release
22- run : pnpm semantic-release
24+ node-version : ' 22.x'
25+ registry-url : ' https://registry.npmjs.org'
26+ - uses : pnpm/action-setup@v4
27+ - run : pnpm install
28+ - run : pnpm build
29+ - run : pnpm semantic-release
2330 env :
2431 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25- NPM_TOKEN : ${{ secrets.npm_token }}
You can’t perform that action at this time.
0 commit comments