From 0710c8b0dc04bbab0a06626a90a3b1e3fbc3e236 Mon Sep 17 00:00:00 2001 From: Jean Barriere Date: Mon, 16 Dec 2024 10:21:30 +0100 Subject: [PATCH] Update action.yml --- .github/actions/setup/action.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index c3fabe8..39084ef 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -3,24 +3,25 @@ description: "Setup Node, PNPM, and install dependencies" runs: using: "composite" steps: - - uses: pnpm/action-setup@v3 - with: - version: 8 - run_install: false + - run: npm install -g pnpm@9.15.0 + shell: bash - uses: actions/setup-node@v4 with: - node-version: 20 + cache: 'pnpm' + node-version: '22.12.0' + registry-url: 'https://npm.pkg.github.com' + always-auth: true - id: pnpm-cache shell: bash run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v4 + + - uses: actions/cache@v3 with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: ${{ runner.os }}-pnpm-store- - - run: pnpm install --prefer-offline --frozen-lockfile + - run: pnpm install --prefer-offline shell: bash