From 6caa92c058543021e67b42be2df46f919cd098b2 Mon Sep 17 00:00:00 2001 From: cte Date: Sun, 11 May 2025 21:37:15 -0700 Subject: [PATCH] Fix CI --- .github/workflows/CI.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 11ccb40563..988684c96a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,20 +6,30 @@ on: pull_request: branches: [main] +env: + NODE_VERSION: 20.18.1 + PNPM_VERSION: 10.8.1 + jobs: test: name: Run all tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout code + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup Node.js - uses: actions/setup-node@v3 + - name: Install pnpm + uses: pnpm/action-setup@v4 with: - node-version: 20.18.1 + version: ${{ env.PNPM_VERSION }} + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: ${{ env.NODE_VERSION }} cache: pnpm - name: Install dependencies