Skip to content

Commit 70b7164

Browse files
authored
Bump minimum Node.js version to v22 (#197)
1 parent cfe656a commit 70b7164

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup node.js
1919
uses: actions/[email protected]
2020
with:
21-
node-version: 18
21+
node-version: 22
2222
registry-url: 'https://registry.npmjs.org'
2323
- name: Update versions to nightly
2424
run: node ./scripts/updateTemplateVersion.js nightly

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup node.js
3333
uses: actions/[email protected]
3434
with:
35-
node-version: 18
35+
node-version: 22
3636
registry-url: 'https://registry.npmjs.org'
3737
- name: Determine new template version
3838
run: echo "VERSION=$(./scripts/bumpedTemplateVersion.sh ${{ inputs.version }})" >> $GITHUB_ENV

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
- name: Setup node.js
1717
uses: actions/[email protected]
1818
with:
19-
node-version: 18
19+
node-version: 22
2020
- name: Run unit tests
2121
run: npm install && npm test

template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"typescript": "^5.8.3"
3737
},
3838
"engines": {
39-
"node": ">=20"
39+
"node": ">= 22.11.0"
4040
}
4141
}

0 commit comments

Comments
 (0)