Add Node.js and pnpm installation steps to cross-check workflow

This commit is contained in:
Tunglies
2025-06-06 10:43:36 +08:00
committed by wonfen
parent c4682ab6e9
commit cadd6c3497

View File

@@ -37,6 +37,21 @@ jobs:
- name: Add Rust Target
run: rustup target add ${{ matrix.target }}
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: "20"
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Pnpm install and check
run: |
pnpm i
pnpm check ${{ matrix.target }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2
with: