diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1c5e06f..2930f75 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,7 +5,7 @@ env: on: push: branches: - - '**' + - "**" jobs: deploy: @@ -26,32 +26,15 @@ jobs: forge build --sizes forge test -vvv - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: '18' - - - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 9 - - - name: Install dependencies and Next.js - run: | - pnpm install - if ! grep -q '"next":' package.json; then - pnpm add next@latest - fi - - name: Install Vercel CLI - run: pnpm install --global vercel@latest + run: npm install --global vercel@latest - name: Pull Vercel Environment Information run: vercel pull --yes --environment=${{ github.ref == 'refs/heads/main' && 'production' || 'preview' }} --token=${{ secrets.VERCEL_TOKEN }} - name: Build Project Artifacts env: - NODE_OPTIONS: '--max-old-space-size=8192' + NODE_OPTIONS: "--max-old-space-size=8192" run: vercel build ${{ github.ref == 'refs/heads/main' && '--prod' || '' }} --token=${{ secrets.VERCEL_TOKEN }} - name: Deploy Project Artifacts to Vercel