diff --git a/.github/workflows/fix-lint.yml b/.github/workflows/fix-lint.yml index 990de3fa..da2cf87d 100644 --- a/.github/workflows/fix-lint.yml +++ b/.github/workflows/fix-lint.yml @@ -16,6 +16,12 @@ jobs: - uses: actions/checkout@v2 with: ref: refs/pull/${{ github.event.issue.number }}/head + - uses: actions/setup-node@v4 + with: + node-version: 22 + - name: Install pnpm + uses: pnpm/action-setup@v4 + - run: pnpm install - run: pnpm lint --fix - name: Push Changes uses: ad-m/github-push-action@master diff --git a/.github/workflows/next-deploy.yml b/.github/workflows/next-deploy.yml index 55fb8746..2fd3be09 100644 --- a/.github/workflows/next-deploy.yml +++ b/.github/workflows/next-deploy.yml @@ -16,8 +16,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - name: Install pnpm + uses: pnpm/action-setup@v4 - name: Install Global Dependencies - run: npm install --global vercel pnpm@9.0.4 + run: pnpm add -g vercel - name: Pull Vercel Environment Information run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} - name: Write Release Info diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index f03b80f8..331ce62e 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -46,13 +46,14 @@ jobs: with: ref: refs/pull/${{ github.event.pull_request.number }}/head - - run: npm i -g pnpm@9.0.4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: "pnpm" + - name: Install pnpm + uses: pnpm/action-setup@v4 - name: Install Global Dependencies - run: npm install --global vercel + run: pnpm add -g vercel - name: Pull Vercel Environment Information run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} - name: Write Release Info diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7f14a1d1..94c3c8f3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,8 +13,13 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@master + - uses: actions/setup-node@v4 + with: + node-version: 22 - name: Install pnpm - run: npm i -g vercel pnpm@9.0.4 + uses: pnpm/action-setup@v4 + - name: Install Global Dependencies + run: pnpm add -g vercel # - run: pnpm install # - run: pnpm build - run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}