From 6a4626f607e74a83ca6ab0b4bff13cbf92990873 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Jun 2026 15:06:39 +0000 Subject: [PATCH 1/5] Remove duplicate pnpm setup from workflow jobs --- .github/workflows/action.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 867cec83..3da5758f 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -14,11 +14,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 - - name: Setup pnpm - uses: pnpm/action-setup@v6 - with: - version: 11 - cache: true - name: Setup Node, install dependencies, and cache node modules, build dist artifacts uses: ./.github/build-artifacts with: @@ -34,11 +29,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 - - name: Setup pnpm - uses: pnpm/action-setup@v6 - with: - version: 11 - cache: true # Set up GitHub Actions caching for Wireit. # - uses: google/wireit@setup-github-actions-caching/v2 From 45661f3169d86656f25d9f4655a8d1e270d8c6c7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Jun 2026 15:15:53 +0000 Subject: [PATCH 2/5] Run workflow on PRs and keep deploy on push --- .github/workflows/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 3da5758f..1f9943e7 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -1,6 +1,9 @@ name: Deploy to GitHub Pages on: + pull_request: + branches: + - main push: branches: - main @@ -21,6 +24,7 @@ jobs: deploy: needs: build + if: github.event_name == 'push' runs-on: ubuntu-latest strategy: matrix: From ec5159e8d7ee1a42cf57b9ccad2947b6109b2779 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Jun 2026 15:25:10 +0000 Subject: [PATCH 3/5] Run setup-node before pnpm install in module cache action --- .github/module-cache/action.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/module-cache/action.yaml b/.github/module-cache/action.yaml index 54cc9995..866209c2 100644 --- a/.github/module-cache/action.yaml +++ b/.github/module-cache/action.yaml @@ -7,6 +7,12 @@ inputs: runs: using: 'composite' steps: + - name: Setup node + uses: actions/setup-node@v5 + with: + node-version: ${{ inputs.node-version }} + cache: 'pnpm' + - name: Get pnpm version from package.json id: get-pnpm-version run: | @@ -17,11 +23,6 @@ runs: uses: pnpm/action-setup@v4 with: version: ${{ steps.get-pnpm-version.outputs.pnpm-version }} - - name: Setup node - uses: actions/setup-node@v5 - with: - node-version: ${{ inputs.node-version }} - cache: 'pnpm' - name: Install dependencies run: | pnpm config set auto-install-peers false From 1ad882430893016e083b0489ad60608d483f1fa4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Jun 2026 07:24:16 +0000 Subject: [PATCH 4/5] Fix module-cache action pnpm lookup failure --- .github/module-cache/action.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/module-cache/action.yaml b/.github/module-cache/action.yaml index 866209c2..772128d4 100644 --- a/.github/module-cache/action.yaml +++ b/.github/module-cache/action.yaml @@ -11,7 +11,6 @@ runs: uses: actions/setup-node@v5 with: node-version: ${{ inputs.node-version }} - cache: 'pnpm' - name: Get pnpm version from package.json id: get-pnpm-version From 06c69ab7a5ca136ce27a65eac56611e032b6aab9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Jun 2026 07:39:10 +0000 Subject: [PATCH 5/5] Fix CI: install pnpm before setup-node to fix package-manager-cache error --- .github/module-cache/action.yaml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/module-cache/action.yaml b/.github/module-cache/action.yaml index 772128d4..68713cbb 100644 --- a/.github/module-cache/action.yaml +++ b/.github/module-cache/action.yaml @@ -7,21 +7,14 @@ inputs: runs: using: 'composite' steps: + - name: Install pnpm + uses: pnpm/action-setup@v4 + - name: Setup node uses: actions/setup-node@v5 with: node-version: ${{ inputs.node-version }} - - name: Get pnpm version from package.json - id: get-pnpm-version - run: | - node -e "const p=require('./package.json').packageManager||''; const v=(p.split('@')[1]||'10'); console.log('pnpm-version='+v)" >> $GITHUB_OUTPUT - shell: bash - - - name: Install pnpm - uses: pnpm/action-setup@v4 - with: - version: ${{ steps.get-pnpm-version.outputs.pnpm-version }} - name: Install dependencies run: | pnpm config set auto-install-peers false