From 119516ff09c88c37a9b62fe3bcda45d2d1b1058c Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 28 May 2026 13:07:56 +0000 Subject: [PATCH] Bump GitHub Actions to v5 and target Node 24 in CI Updates actions/checkout and actions/setup-node to v5 (which run on Node.js 24) to resolve the Node.js 20 deprecation warning. Simplifies the mocha test matrix to just Node 24.x since Flock is an application rather than a library. --- .github/workflows/eslint.yml | 6 +++--- .github/workflows/prettier.yml | 6 +++--- .github/workflows/run-mocha-tests.yml | 6 +++--- .github/workflows/static.yml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index d0068bc67..9223b625e 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -7,10 +7,10 @@ jobs: eslint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: - node-version: 20 + node-version: 24 - run: npm ci - run: npx eslint . continue-on-error: true # Remove to block PRs that fail the check diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index cd5cf8c9a..d41cd1b2e 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -7,9 +7,9 @@ jobs: prettier: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: - node-version: 20 + node-version: 24 - run: npx prettier --check . continue-on-error: true # Remove to block PRs that fail the check diff --git a/.github/workflows/run-mocha-tests.yml b/.github/workflows/run-mocha-tests.yml index c245e56ac..32d826eda 100644 --- a/.github/workflows/run-mocha-tests.yml +++ b/.github/workflows/run-mocha-tests.yml @@ -16,15 +16,15 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-2022] - node-version: [20.x, 22.x, 24.x] + node-version: [24.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: testable - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} cache: "npm" diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 80a25348d..27bcd98e7 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -29,7 +29,7 @@ jobs: url: ${{ steps.deploy_to_pages.outputs.github_pages_url }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: Vite Github Pages Deployer uses: skywarth/vite-github-pages-deployer@master id: deploy_to_pages