Context
This repo hardcodes Node.js version 20 in the CI workflow:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
Other repos in the org use a .node-version file referenced by CI workflows.
Proposal
- Add a
.node-version file (e.g., 20 or current LTS)
- Update
deploy-pages.yml to use node-version-file: '.node-version'
Acceptance Criteria
Context
This repo hardcodes Node.js version
20in the CI workflow:Other repos in the org use a
.node-versionfile referenced by CI workflows.Proposal
.node-versionfile (e.g.,20or current LTS)deploy-pages.ymlto usenode-version-file: '.node-version'Acceptance Criteria
.node-versionfile added