Skip to content

Add .nvmrc for Node.js version management#42416

Open
Rishikesh183 wants to merge 1 commit into
twbs:mainfrom
Rishikesh183:add-nvmrc
Open

Add .nvmrc for Node.js version management#42416
Rishikesh183 wants to merge 1 commit into
twbs:mainfrom
Rishikesh183:add-nvmrc

Conversation

@Rishikesh183
Copy link
Copy Markdown

Closes #42412

What

  • Add .nvmrc file at repo root with Node 22
  • Update all 7 workflow files to use node-version-file: ".nvmrc" instead of hardcoded NODE: 22 env variable

Why

Node version was duplicated across 7 workflow files. A single .nvmrc makes future upgrades a one-line change and lets contributors using nvm automatically pick the correct version.

Files changed

  • .nvmrc (new)
  • .github/workflows/browserstack.yml
  • .github/workflows/bundlewatch.yml
  • .github/workflows/css.yml
  • .github/workflows/docs.yml
  • .github/workflows/js.yml
  • .github/workflows/lint.yml
  • .github/workflows/node-sass.yml

@mdo mdo requested a review from julien-deramond May 18, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

suggestion: Add a .nvmrc file to root

1 participant