From 0fbf9d5ed4a6b81b42b13d7112e0f3a41976deba Mon Sep 17 00:00:00 2001 From: Rushi Vishavadia Date: Fri, 17 Jul 2026 13:21:36 +0530 Subject: [PATCH] ci: run lint workflow on Node 20 The package requires node >=20, but the Lint workflow (sourced from the default branch on pull_request_target) pinned Node 16, so npm ci failed with EBADENGINE. Bump setup-node/checkout and the Node version to 20. --- .github/workflows/eslint.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 243dd5dbc..180e0a634 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -39,16 +39,16 @@ jobs: echo "Hey ${{ github.actor }} you are not in a whitelisted team" exit 1 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} ref: ${{github.event.pull_request.head.sha}} repository: ${{github.event.pull_request.head.repo.full_name}} - - name: Node.JS 16 - uses: actions/setup-node@v3 + - name: Node.JS 20 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: "npm" cache-dependency-path: "package-lock.json"