Skip to content

ci(analysis): bump test runner node_version to 24 - #2840

Merged
DerekRoberts merged 1 commit into
mainfrom
fix/ci-node-version
Sep 7, 2026
Merged

DerekRoberts merged 1 commit into
mainfrom
fix/ci-node-version

Conversation

@DerekRoberts

@DerekRoberts DerekRoberts commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Bump the node_version input from "22" to "24" for backend-tests and frontend-tests in .github/workflows/analysis.yml.

Context

  • Dockerfiles (backend/Dockerfile and frontend/Dockerfile) and @types/node dependencies are already on Node 24.
  • Renovate lockfile maintenance generates package-lock.json using Node 24 / npm 11. When CI runs on Node 22 (npm 10), npm ci fails with code EUSAGE due to npm 11 pruning optional nested peer dependencies that npm 10 expects.
  • Bumping CI test runners to Node 24 eliminates this mismatch and aligns testing with production build environments.

Upstream proposal to auto-detect Node version in bcgov/actions/test-and-analyse: bcgov/actions#183


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

Aligns the Backend Tests and Frontend Tests action runners with the Node 24 runtime images used in Dockerfiles and Renovate lockfile maintenance.
Copilot AI balanced review requested due to automatic review settings September 7, 2026 17:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused CI configuration update has no unresolved issues.

Pull request overview

Aligns CI test runners with the Node 24 production and lockfile environments.

Changes:

  • Updates backend and frontend analysis jobs from Node 22 to Node 24.
  • Prevents npm 10/11 lockfile compatibility failures.
File summaries
File Description
.github/workflows/analysis.yml Runs backend and frontend tests with Node 24.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@DerekRoberts DerekRoberts self-assigned this Sep 7, 2026
@DerekRoberts
DerekRoberts merged commit ac60262 into main Sep 7, 2026
22 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in DevOps (NR) Sep 7, 2026
@DerekRoberts
DerekRoberts deleted the fix/ci-node-version branch September 7, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants