Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 8 additions & 14 deletions docs/guide/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ That means you usually do not need separate `setup-node`, package-manager setup,
```yaml [.github/workflows/ci.yml]
- uses: voidzero-dev/setup-vp@v1
with:
node-version: '22'
node-version: '24'
Comment thread
fengmk2 marked this conversation as resolved.
cache: true
- run: vp install
- run: vp check
Expand All @@ -30,23 +30,17 @@ If you are migrating an existing GitHub Actions workflow, you can often replace
#### Before:

```yaml [.github/workflows/ci.yml]
- uses: actions/setup-node@v4
with:
node-version: '24'

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6
with:
version: 10

- name: Get pnpm store path
run: pnpm store path
version: 11
Comment thread
fengmk2 marked this conversation as resolved.

- uses: actions/cache@v4
- uses: actions/setup-node@v6
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
node-version: '24'
cache: pnpm

- run: pnpm install && pnpm dev:setup
- run: pnpm ci && pnpm dev:setup
- run: pnpm check
- run: pnpm test
```

Expand Down
Loading