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