From a85dc6b0ef032ceb0bad8e85e1ce812f60aa35f2 Mon Sep 17 00:00:00 2001 From: Alajmah <55954113+Alajmah@users.noreply.github.com> Date: Mon, 23 Nov 2026 07:45:04 +0300 Subject: [PATCH] chore(ci): run the workflows on Node 24 Stage 1 of the Node 24 transition (#500). Node 20 reached end of life on 2026-04-30. Moves the 19 `node-version` steps of the 8 workflows from 20 to 24. The Dockerfiles, the lockfiles, the engines fields and the README are not changed here. The images follow in their own units. Evidence so far: on the branch study/node-24-compat (7c83535), which moved the workflows and the images together, the seven workflows that can be dispatched by hand all succeeded on v24.22.3. The order of the stages and the choice of a version per image are recorded in #500. Signed-off-by: Alajmah <55954113+Alajmah@users.noreply.github.com> --- .github/workflows/ci.yml | 24 +++++++++---------- .github/workflows/master-push-ci-watchdog.yml | 2 +- .github/workflows/plugin-sandbox-proofs.yml | 2 +- .../workflows/w2-configuration-layering.yml | 2 +- .github/workflows/w2-policy-authority-db.yml | 2 +- .github/workflows/w2-policy-promotion-db.yml | 2 +- .github/workflows/w2-policy-writers-db.yml | 2 +- .github/workflows/w3-mutation-command-db.yml | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25dbe324..7a34db02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - name: Verify lockfile consistency run: | @@ -58,7 +58,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' cache-dependency-path: docs/package-lock.json - name: Install docs dependencies @@ -80,7 +80,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci --ignore-scripts - name: Run core tests @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci --ignore-scripts - name: Run rules tests @@ -110,7 +110,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci --ignore-scripts - name: Run runtime tests @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci --ignore-scripts - name: Run executor-service tests @@ -140,7 +140,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci --ignore-scripts - name: Run web unit tests @@ -160,7 +160,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci --ignore-scripts - name: Run receipt-integrity integration tests @@ -187,7 +187,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci --ignore-scripts - name: Run dashboard tests @@ -420,7 +420,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci --ignore-scripts @@ -489,7 +489,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - name: Authenticate to GHCR @@ -780,7 +780,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci --ignore-scripts diff --git a/.github/workflows/master-push-ci-watchdog.yml b/.github/workflows/master-push-ci-watchdog.yml index 052fb833..e3aeefd0 100644 --- a/.github/workflows/master-push-ci-watchdog.yml +++ b/.github/workflows/master-push-ci-watchdog.yml @@ -32,7 +32,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' - name: Run push-CI liveness watchdog env: GH_TOKEN: ${{ github.token }} diff --git a/.github/workflows/plugin-sandbox-proofs.yml b/.github/workflows/plugin-sandbox-proofs.yml index 64100a01..133ede2e 100644 --- a/.github/workflows/plugin-sandbox-proofs.yml +++ b/.github/workflows/plugin-sandbox-proofs.yml @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' - name: Build the sandbox image run: docker build -t localhost:5000/gitwire-plugin-sandbox:ci -f plugin-sandbox/Dockerfile . diff --git a/.github/workflows/w2-configuration-layering.yml b/.github/workflows/w2-configuration-layering.yml index 6372b8bb..f1fdd205 100644 --- a/.github/workflows/w2-configuration-layering.yml +++ b/.github/workflows/w2-configuration-layering.yml @@ -72,7 +72,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - name: Install dependencies run: npm ci --ignore-scripts diff --git a/.github/workflows/w2-policy-authority-db.yml b/.github/workflows/w2-policy-authority-db.yml index 742b3561..08705c8e 100644 --- a/.github/workflows/w2-policy-authority-db.yml +++ b/.github/workflows/w2-policy-authority-db.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - name: Install dependencies run: npm ci --ignore-scripts diff --git a/.github/workflows/w2-policy-promotion-db.yml b/.github/workflows/w2-policy-promotion-db.yml index 5b01fdc1..86e9cacc 100644 --- a/.github/workflows/w2-policy-promotion-db.yml +++ b/.github/workflows/w2-policy-promotion-db.yml @@ -87,7 +87,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - name: Install dependencies run: npm ci --ignore-scripts diff --git a/.github/workflows/w2-policy-writers-db.yml b/.github/workflows/w2-policy-writers-db.yml index 7627a683..f05372f0 100644 --- a/.github/workflows/w2-policy-writers-db.yml +++ b/.github/workflows/w2-policy-writers-db.yml @@ -75,7 +75,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - name: Install dependencies run: npm ci --ignore-scripts diff --git a/.github/workflows/w3-mutation-command-db.yml b/.github/workflows/w3-mutation-command-db.yml index 772160ff..8288abc5 100644 --- a/.github/workflows/w3-mutation-command-db.yml +++ b/.github/workflows/w3-mutation-command-db.yml @@ -81,7 +81,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - name: Install dependencies run: npm ci --ignore-scripts