From b32b94c9fb9a7e265c8474a4770fa7e2b56890d4 Mon Sep 17 00:00:00 2001 From: Leifer Mendez Date: Tue, 2 Apr 2024 12:45:55 +0200 Subject: [PATCH] cd: cd-ci --- .github/workflows/deploy.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 17580a2..dc0fe68 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -10,9 +10,16 @@ jobs: Deploy-Preview: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Install Vercel CLI - run: npm install --global vercel@latest + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2.2.4 + - uses: actions/setup-node@v3 + with: + node-version: 20.x + cache: 'pnpm' + registry-url: https://registry.npmjs.org/ + + - run: corepack enable + - run: npm install --global vercel@latest - name: Pull Vercel Environment Information run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} - name: Build Project Artifacts