From 41518ea39a9600182ff14093f6ef1ab81cc73b6f Mon Sep 17 00:00:00 2001 From: Evan Wechsler Date: Wed, 18 Mar 2026 13:31:18 -0400 Subject: [PATCH] Upgrade node20 references to node24 Fixes 8BitJonny/gh-get-current-pr#354 --- .github/workflows/build.yml | 4 ++-- .github/workflows/check-dist.yml | 4 ++-- .github/workflows/rebuild-dist.yml | 2 +- .github/workflows/test.yml | 6 +++--- .nvmrc | 2 +- action.yml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1334e3c..8e40de6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # 3.9.1 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci - run: | @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # 3.9.1 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci - name: Lint diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 44d99bb..5b1b8f7 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -21,10 +21,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - - name: Set Node.js 20.x + - name: Set Node.js 24.x uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # 3.9.1 with: - node-version: 20.x + node-version: 24.x - name: Install dependencies run: npm ci - name: Rebuild the dist/ directory diff --git a/.github/workflows/rebuild-dist.yml b/.github/workflows/rebuild-dist.yml index 035fc60..cdfed6b 100644 --- a/.github/workflows/rebuild-dist.yml +++ b/.github/workflows/rebuild-dist.yml @@ -20,7 +20,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # 3.9.1 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci - run: npm run all diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d08d8d0..7b88ccf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # 3.9.1 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci - run: | @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # 3.9.1 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci - name: Build Action @@ -47,7 +47,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # 3.9.1 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci - name: Build Action diff --git a/.nvmrc b/.nvmrc index 9a2a0e2..54c6511 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20 +v24 diff --git a/action.yml b/action.yml index 5b97133..77d114a 100644 --- a/action.yml +++ b/action.yml @@ -37,7 +37,7 @@ outputs: pr_labels: description: The PR Labels if any was found. runs: - using: node20 + using: node24 main: 'dist/index.js' branding: icon: git-pull-request