Skip to content

ci: use .nvmrc for Node.js version in CI workflows#200

Merged
dhensby merged 1 commit intotediousjs:masterfrom
dhensby:ci/standardise-node-version
Apr 14, 2026
Merged

ci: use .nvmrc for Node.js version in CI workflows#200
dhensby merged 1 commit intotediousjs:masterfrom
dhensby:ci/standardise-node-version

Conversation

@dhensby
Copy link
Copy Markdown
Collaborator

@dhensby dhensby commented Apr 14, 2026

Problem

CI jobs use a mix of hardcoded Node.js versions (20.x in most jobs, lts/* in the release job), while the repository has a .nvmrc pinning Node 24. This means CI runs on a different Node version than local development and the action runtime.

Fix

Replace all node-version values with node-version-file: '.nvmrc' so every CI job uses the version pinned in the repository. Updating Node for CI now only requires changing .nvmrc.

Replace hardcoded node-version values (20.x, lts/*) with
node-version-file referencing .nvmrc, ensuring all CI jobs use the
same Node.js version pinned in the repository.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dhensby dhensby merged commit 58e393e into tediousjs:master Apr 14, 2026
16 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 3.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant