File tree Expand file tree Collapse file tree 4 files changed +19
-57
lines changed
Expand file tree Collapse file tree 4 files changed +19
-57
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,13 +28,15 @@ jobs:
2828 steps :
2929 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
31- - name : Setup Node.js and pnpm
32- uses : ./.github/actions/setup-node-pnpm
31+ - name : Setup vp
32+ uses : voidzero-dev/setup-vp@b5d848f5a62488f3d3d920f8aa6ac318a60c5f07 # v1
33+ with :
34+ cache : true
3335
3436 - run : npm i @ast-grep/cli -g
3537
36- - name : Run lint
37- run : pnpm lint
38+ - name : Check
39+ run : vp check
3840
3941 - name : Build project
40- run : pnpm build
42+ run : vp run build
Original file line number Diff line number Diff line change @@ -19,16 +19,18 @@ jobs:
1919 - name : Checkout code
2020 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121
22- - name : Setup Node.js and pnpm
23- uses : ./.github/actions/setup-node-pnpm
22+ - name : Setup vp
23+ uses : voidzero-dev/setup-vp@b5d848f5a62488f3d3d920f8aa6ac318a60c5f07 # v1
24+ with :
25+ cache : true
2426
2527 - name : Run fetch-github-dependents
2628 run : node tools/fetch-github-dependents.mjs
2729 env :
2830 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2931
3032 - name : Format data
31- run : pnpm run check: fix
33+ run : vp check -- fix
3234
3335 - name : Check for changes
3436 id : git-check
Original file line number Diff line number Diff line change @@ -20,16 +20,18 @@ jobs:
2020 - name : Checkout code
2121 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
23- - name : Setup Node.js and pnpm
24- uses : ./.github/actions/setup-node-pnpm
23+ - name : Setup vp
24+ uses : voidzero-dev/setup-vp@b5d848f5a62488f3d3d920f8aa6ac318a60c5f07 # v1
25+ with :
26+ cache : true
2527
2628 - name : Run rolldown stats collection
27- run : pnpm run generate
29+ run : vp run generate
2830 env :
2931 GITHUB_TOKEN : ${{ github.token }}
3032
3133 - name : Format data
32- run : pnpm run check: fix
34+ run : vp check -- fix
3335
3436 - name : Check for changes
3537 id : git-check
5355
5456 - name : No changes to commit
5557 if : steps.git-check.outputs.changes != 'true'
56- run : pnpm run generate
58+ run : echo "No changes to commit"
You can’t perform that action at this time.
0 commit comments