diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1993a67..7cb92a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,10 +17,10 @@ jobs: uses: pnpm/action-setup@v2 # after pnpm - - name: Use Node.js 16 + - name: Use Node.js LTS uses: actions/setup-node@v3 with: - node-version: 16 + node-version: lts/* registry-url: https://registry.npmjs.org/ cache: pnpm diff --git a/.github/workflows/vercel.yml b/.github/workflows/vercel.yml index d7c0806..9aba287 100644 --- a/.github/workflows/vercel.yml +++ b/.github/workflows/vercel.yml @@ -14,8 +14,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Install pnpm + uses: pnpm/action-setup@v2 + # after pnpm + - name: Use Node.js LTS + uses: actions/setup-node@v3 + with: + node-version: lts/* + registry-url: https://registry.npmjs.org/ + cache: pnpm + - name: Install Vercel CLI - run: npm install --global vercel@latest + run: pnpm i -g vercel@latest + - name: Pull Vercel Environment Information run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} - name: Build Project Artifacts