From e3eab12488106e6ac0cd9db61cd1dad5d90a7e5a Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Tue, 25 Nov 2025 23:45:22 +0800 Subject: [PATCH] fix(ci): incorrect node version, missing turbo cache, build cmd --- .github/workflows/deploy-cloudflare-pages.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-cloudflare-pages.yml b/.github/workflows/deploy-cloudflare-pages.yml index e07e63fab..5402e3955 100644 --- a/.github/workflows/deploy-cloudflare-pages.yml +++ b/.github/workflows/deploy-cloudflare-pages.yml @@ -41,13 +41,21 @@ jobs: steps: - uses: actions/checkout@v6 + # Turborepo + - name: Cache turbo build setup + uses: actions/cache@v4 + with: + path: .turbo + key: ${{ runner.os }}-turbo-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-turbo- - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v6 with: + node-version: lts/* cache: pnpm - node-version: latest - registry-url: https://registry.npmjs.org - run: pnpm install --frozen-lockfile + - run: pnpm run build:packages - run: ${{ matrix.command }} - uses: cloudflare/wrangler-action@v3 with: