From 5d3d736b4cbc027636349b73a8d8922c43dc922a Mon Sep 17 00:00:00 2001 From: hmmhmmhm Date: Wed, 15 Jul 2026 11:24:00 +0900 Subject: [PATCH] fix(deploy): run Pages package scripts --- .github/workflows/deploy-grok-spiral.yml | 2 +- .github/workflows/deploy-web.yml | 2 +- scripts/qa-workflow-policy.test.mjs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-grok-spiral.yml b/.github/workflows/deploy-grok-spiral.yml index 6dc1144a..92fbb09e 100644 --- a/.github/workflows/deploy-grok-spiral.yml +++ b/.github/workflows/deploy-grok-spiral.yml @@ -61,4 +61,4 @@ jobs: env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - run: pnpm --filter grok-spiral deploy + run: pnpm --filter grok-spiral run deploy diff --git a/.github/workflows/deploy-web.yml b/.github/workflows/deploy-web.yml index e77be4a9..eee47aaa 100644 --- a/.github/workflows/deploy-web.yml +++ b/.github/workflows/deploy-web.yml @@ -69,4 +69,4 @@ jobs: NEXT_PUBLIC_CESIUM_MARS_ASSET_ID: ${{ secrets.NEXT_PUBLIC_CESIUM_MARS_ASSET_ID }} GOOGLE_MAPS_NODEJS_API_KEY: ${{ secrets.GOOGLE_MAPS_NODEJS_API_KEY }} OPENWEATHER_API_KEY: ${{ secrets.OPENWEATHER_API_KEY }} - run: pnpm --filter web deploy + run: pnpm --filter web run deploy diff --git a/scripts/qa-workflow-policy.test.mjs b/scripts/qa-workflow-policy.test.mjs index c9139742..7eeef839 100644 --- a/scripts/qa-workflow-policy.test.mjs +++ b/scripts/qa-workflow-policy.test.mjs @@ -364,8 +364,8 @@ describe("GitHub automation supply-chain policy", () => { assert.match(webScripts.deploy, /pnpm exec wrangler pages deploy/); assert.match(grokScripts.deploy, /pnpm exec wrangler pages deploy/); assert.match(apiWorkflow, /pnpm exec wrangler deploy/); - assert.match(webWorkflow, /pnpm --filter web deploy/); - assert.match(grokWorkflow, /pnpm --filter grok-spiral deploy/); + assert.match(webWorkflow, /pnpm --filter web run deploy/); + assert.match(grokWorkflow, /pnpm --filter grok-spiral run deploy/); }); test("rejects Dependabot groups nested under a sibling policy key", () => {