From ca5de06444e99eae9eb15feab43b241ce6fb56ff Mon Sep 17 00:00:00 2001 From: patricklafrance Date: Fri, 18 Oct 2024 10:04:19 -0400 Subject: [PATCH] Fixing ci --- .github/workflows/ci.yml | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e74c42a..f5cf5b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,31 +23,18 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install Node.js - uses: actions/setup-node@v4 - with: - check-latest: true - - - uses: pnpm/action-setup@v3 - name: Install pnpm - id: pnpm-install + - name: Install pnpm + uses: pnpm/action-setup@v3 with: - version: 8 + version: 9 run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Setup pnpm cache - uses: actions/cache@v4 + - name: Install Node.js + uses: actions/setup-node@v4 with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + node-version: ">=21.1.0" + check-latest: true, + cache: pnpm - name: Install dependencies run: pnpm install --frozen-lockfile