From adfcd23c8b40689c8efd9c25c772966e2b2a6c50 Mon Sep 17 00:00:00 2001 From: Krish Date: Fri, 11 Sep 2026 10:46:17 -0700 Subject: [PATCH 1/3] Fix Next.js prebuild dependency install --- .../workflows/faster-template-prebuild-boilerplate-nextjs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml b/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml index c0f3163e63..5edfd45a3c 100644 --- a/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml +++ b/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml @@ -22,6 +22,7 @@ jobs: - run: | node --version npm --version + corepack enable pnpm - run: | npm install -g vercel@latest @@ -29,7 +30,7 @@ jobs: - working-directory: ./framework-boilerplates/nextjs run: | - npm ci + pnpm install --frozen-lockfile env: NPM_CONFIG_LOGLEVEL: http From 8532e7ba40cacf651629fc5da2a90269312337f3 Mon Sep 17 00:00:00 2001 From: Krish Date: Fri, 25 Sep 2026 15:58:04 -0700 Subject: [PATCH 2/3] simplify --- ...ster-template-prebuild-boilerplate-nextjs.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml b/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml index 5edfd45a3c..26ee863328 100644 --- a/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml +++ b/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml @@ -34,17 +34,17 @@ jobs: env: NPM_CONFIG_LOGLEVEL: http - - working-directory: ./framework-boilerplates/nextjs - run: | - vc build --debug --token $VERCEL_TOKEN --yes --prod - env: - VERCEL_PROJECT_ID: prj_D1Kp06w4jE67wyV3WlMHjtfDLjhC - VERCEL_TOKEN: ${{ secrets.VERCEL_EXAMPLES_TOKEN }} - VERCEL_ORG_ID: ${{ secrets.VERCEL_EXAMPLES_ORG_ID }} + # - working-directory: ./framework-boilerplates/nextjs + # run: | + # vc build --debug --token $VERCEL_TOKEN --yes --prod + # env: + # VERCEL_PROJECT_ID: prj_D1Kp06w4jE67wyV3WlMHjtfDLjhC + # VERCEL_TOKEN: ${{ secrets.VERCEL_EXAMPLES_TOKEN }} + # VERCEL_ORG_ID: ${{ secrets.VERCEL_EXAMPLES_ORG_ID }} - working-directory: ./framework-boilerplates/nextjs run: | - vc deploy --debug --token $VERCEL_TOKEN --yes --prod --prebuilt --archive=tgz + vc deploy --debug --token $VERCEL_TOKEN --yes --prod env: VERCEL_PROJECT_ID: prj_D1Kp06w4jE67wyV3WlMHjtfDLjhC VERCEL_TOKEN: ${{ secrets.VERCEL_EXAMPLES_TOKEN }} From 67191ff9e3706c0aa0e0f0a0981b6a25f2779291 Mon Sep 17 00:00:00 2001 From: Krish Date: Fri, 25 Sep 2026 16:18:39 -0700 Subject: [PATCH 3/3] add back two step --- ...ster-template-prebuild-boilerplate-nextjs.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml b/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml index 26ee863328..5edfd45a3c 100644 --- a/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml +++ b/.github/workflows/faster-template-prebuild-boilerplate-nextjs.yml @@ -34,17 +34,17 @@ jobs: env: NPM_CONFIG_LOGLEVEL: http - # - working-directory: ./framework-boilerplates/nextjs - # run: | - # vc build --debug --token $VERCEL_TOKEN --yes --prod - # env: - # VERCEL_PROJECT_ID: prj_D1Kp06w4jE67wyV3WlMHjtfDLjhC - # VERCEL_TOKEN: ${{ secrets.VERCEL_EXAMPLES_TOKEN }} - # VERCEL_ORG_ID: ${{ secrets.VERCEL_EXAMPLES_ORG_ID }} + - working-directory: ./framework-boilerplates/nextjs + run: | + vc build --debug --token $VERCEL_TOKEN --yes --prod + env: + VERCEL_PROJECT_ID: prj_D1Kp06w4jE67wyV3WlMHjtfDLjhC + VERCEL_TOKEN: ${{ secrets.VERCEL_EXAMPLES_TOKEN }} + VERCEL_ORG_ID: ${{ secrets.VERCEL_EXAMPLES_ORG_ID }} - working-directory: ./framework-boilerplates/nextjs run: | - vc deploy --debug --token $VERCEL_TOKEN --yes --prod + vc deploy --debug --token $VERCEL_TOKEN --yes --prod --prebuilt --archive=tgz env: VERCEL_PROJECT_ID: prj_D1Kp06w4jE67wyV3WlMHjtfDLjhC VERCEL_TOKEN: ${{ secrets.VERCEL_EXAMPLES_TOKEN }}