Skip to content

Commit db3f606

Browse files
Boshenclaude
andcommitted
chore: migrate remaining CI workflows from pnpm to vp
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bfd65b7 commit db3f606

File tree

4 files changed

+19
-57
lines changed

4 files changed

+19
-57
lines changed

.github/actions/setup-node-pnpm/action.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/copilot-setup-steps.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/update-github-dependents.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/update-rolldown-stats.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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
@@ -53,4 +55,4 @@ jobs:
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"

0 commit comments

Comments
 (0)