This repository was archived by the owner on Jan 30, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ jobs:
1212 validate :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v4
15+ - uses : actions/checkout@v5
1616 with :
1717 fetch-depth : 0
1818
1919 - uses : pnpm/action-setup@v4
2020 with :
2121 version : 9
2222
23- - uses : actions/setup-node@v4
23+ - uses : actions/setup-node@v5
2424 with :
2525 node-version : 22
2626 cache : " pnpm"
Original file line number Diff line number Diff line change 77 promote :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v4
10+ - uses : actions/checkout@v5
1111 with :
1212 fetch-depth : 0
1313
Original file line number Diff line number Diff line change @@ -15,31 +15,36 @@ concurrency:
1515jobs :
1616 release :
1717 runs-on : ubuntu-latest
18- permissions :
19- contents : write
20- packages : write
2118 steps :
22- - uses : actions/checkout@v4
19+ - name : Generate token
20+ id : generate_token
21+ uses : actions/create-github-app-token@v2
22+ with :
23+ app-id : ${{ secrets.APP_ID }}
24+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
25+
26+ - uses : actions/checkout@v5
2327 with :
2428 fetch-depth : 0
25- token : ${{ secrets.GITHUB_TOKEN }}
29+ token : ${{ steps.generate_token.outputs.token }}
2630
2731 - uses : pnpm/action-setup@v4
2832 with :
2933 version : 9
3034
31- - uses : actions/setup-node@v4
35+ - uses : actions/setup-node@v5
3236 with :
3337 node-version : 22
3438 cache : " pnpm"
3539 registry-url : " https://registry.npmjs.org"
3640
3741 - run : pnpm install --frozen-lockfile
3842 - run : pnpm build
43+ - run : pnpm test
3944
4045 - name : Release
4146 env :
42- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47+ GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
4348 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
4449 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4550 run : pnpm dlx semantic-release
You can’t perform that action at this time.
0 commit comments