From cadd6c3497928305205d4a9b3c9ea3fd1014c502 Mon Sep 17 00:00:00 2001 From: Tunglies Date: Fri, 6 Jun 2025 10:43:36 +0800 Subject: [PATCH] Add Node.js and pnpm installation steps to cross-check workflow --- .github/workflows/cross_check.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/cross_check.yaml b/.github/workflows/cross_check.yaml index e58bc87e7..433c5279a 100644 --- a/.github/workflows/cross_check.yaml +++ b/.github/workflows/cross_check.yaml @@ -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: