From b6b9884a711ce76789b59d31740e1deb9379c095 Mon Sep 17 00:00:00 2001 From: Yevhenii Molchanov Date: Fri, 30 Oct 2026 12:57:15 +0100 Subject: [PATCH] fix: update Node tooling --- .github/composite-actions/install/action.yml | 2 +- .github/workflows/deploy.yml | 4 +++- .nvmrc | 6 +----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/composite-actions/install/action.yml b/.github/composite-actions/install/action.yml index ace4135..5aff3a4 100644 --- a/.github/composite-actions/install/action.yml +++ b/.github/composite-actions/install/action.yml @@ -16,7 +16,7 @@ runs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22.23.4 check-latest: true registry-url: "https://registry.npmjs.org" cache: "pnpm" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d0f542b..e1de49e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,10 +25,12 @@ jobs: run: pnpm run build - name: Deploy to Vercel + # Fork PRs build above, but do not have deployment secrets. + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository uses: BetaHuhn/deploy-to-vercel-action@v1 with: GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - PRODUCTION: ${{ github.ref == 'refs/heads/main' }} \ No newline at end of file + PRODUCTION: ${{ github.ref == 'refs/heads/main' }} diff --git a/.nvmrc b/.nvmrc index 6f2f012..b8b23ca 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1,5 +1 @@ -20 -auto-install-peers=false -link-workspace-packages=deep -provenance=false -strict-peer-dependencies=false \ No newline at end of file +22.23.4