diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b459f7a..463ff86 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -142,6 +142,21 @@ jobs: needs: Setup if: needs.Setup.outputs.build_status_web == 'MISS' steps: + # checkout and install pnpm + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v3 + name: Install pnpm + id: pnpm-install + with: + version: 8 + run_install: false + # setup node + - name: Setup Node.js environment + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' + - name: Deploy to Vercel if needed run: | vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_ACCESS_TOKEN }}