diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62448a2a0b1..8e7bce5aec8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -546,10 +546,19 @@ jobs: packages/docs/dist packages/docs/server - # not the official version, so be careful when updating + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: 'pnpm' + registry-url: https://registry.npmjs.org/ + - name: Deploy to Cloudflare Pages uses: cloudflare/wrangler-action@v3 with: + node-version: 20.x + cache: 'pnpm' + registry-url: https://registry.npmjs.org/ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} command: pages deploy packages/docs/dist --project-name=qwik-docs