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 @@ -16,18 +16,22 @@ jobs:
1616 with :
1717 fetch-depth : 0
1818
19+ - uses : pnpm/action-setup@v4
20+ with :
21+ version : 9
22+
1923 - uses : actions/setup-node@v4
2024 with :
2125 node-version : 22
26+ cache : " pnpm"
2227
23- - run : npm ci
28+ - run : pnpm install --frozen-lockfile
2429
2530 - name : Validate commits
2631 run : |
27- npx commitlint \
32+ pnpm dlx commitlint \
2833 --from ${{ github.event.pull_request.base.sha }} \
2934 --to ${{ github.event.pull_request.head.sha }}
3035
31- - run : npm run lint
32- - run : npm run build
33- - run : npm test
36+ - run : pnpm lint
37+ - run : pnpm build
Original file line number Diff line number Diff line change @@ -24,18 +24,22 @@ jobs:
2424 fetch-depth : 0
2525 token : ${{ secrets.GITHUB_TOKEN }}
2626
27+ - uses : pnpm/action-setup@v4
28+ with :
29+ version : 9
30+
2731 - uses : actions/setup-node@v4
2832 with :
2933 node-version : 22
34+ cache : " pnpm"
3035 registry-url : " https://registry.npmjs.org"
3136
32- - run : npm ci
33- - run : npm run build
34- - run : npm test
37+ - run : pnpm install --frozen-lockfile
38+ - run : pnpm build
3539
3640 - name : Release
3741 env :
3842 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3943 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
4044 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
41- run : npx semantic-release
45+ run : pnpm dlx semantic-release
You can’t perform that action at this time.
0 commit comments