From 7b8f1a4038dfd2ebae319147a9a3b2884e413d5b Mon Sep 17 00:00:00 2001 From: Aaron Stoddart Date: Wed, 22 Jan 2025 16:17:49 -0600 Subject: [PATCH 1/2] test store path --- .github/actions/prepare-job/action.yml | 27 ++++++++------------------ 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/.github/actions/prepare-job/action.yml b/.github/actions/prepare-job/action.yml index 2d63c666..5178e021 100644 --- a/.github/actions/prepare-job/action.yml +++ b/.github/actions/prepare-job/action.yml @@ -3,29 +3,18 @@ description: 'Setup Node.js and pnpm, install, and cache pnpm store' runs: using: "composite" steps: - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 22 - - - name: Install pnpm - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@v4 + name: Install pnpm with: + version: 10 run_install: false - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - uses: actions/cache@v4 - name: Setup pnpm cache + - name: Install Node.js + uses: actions/setup-node@v4 with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + node-version: 22 + cache: 'pnpm' - name: Install dependencies shell: bash - run: pnpm install \ No newline at end of file + run: pnpm install --frozen-lockfile \ No newline at end of file From af948a629db1a3f9bdd7bcd0f15457cdaae36106 Mon Sep 17 00:00:00 2001 From: Aaron Stoddart Date: Wed, 22 Jan 2025 16:37:07 -0600 Subject: [PATCH 2/2] upgrade pnpm --- .github/actions/prepare-job/action.yml | 1 - package.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/actions/prepare-job/action.yml b/.github/actions/prepare-job/action.yml index 5178e021..194135cb 100644 --- a/.github/actions/prepare-job/action.yml +++ b/.github/actions/prepare-job/action.yml @@ -6,7 +6,6 @@ runs: - uses: pnpm/action-setup@v4 name: Install pnpm with: - version: 10 run_install: false - name: Install Node.js diff --git a/package.json b/package.json index f44a69d6..8fe112ac 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test:unit:watch": "turbo run test:unit:watch", "gen:vue-component": "turbo gen vue-component" }, - "packageManager": "pnpm@9.15.2", + "packageManager": "pnpm@10.0.0+sha512.b8fef5494bd3fe4cbd4edabd0745df2ee5be3e4b0b8b08fa643aa3e4c6702ccc0f00d68fa8a8c9858a735a0032485a44990ed2810526c875e416f001b17df12b", "engines": { "node": ">=22.12.0" }, @@ -34,4 +34,4 @@ ] }, "license": "MIT" -} \ No newline at end of file +}