Skip to content

Commit 39b7d0d

Browse files
authored
chore: require node.js 22 (#217)
1 parent 11bc483 commit 39b7d0d

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/deploy-preview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup Node
4545
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4646
with:
47-
node-version: "20"
47+
node-version: "22"
4848

4949
- name: Build Assets
5050
run: npm ci && npm run prod

.github/workflows/deploy-production.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup Node
3434
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3535
with:
36-
node-version: "20"
36+
node-version: "22"
3737

3838
- name: Build Assets
3939
run: npm ci && npm run prod

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "",
55
"main": "index.js",
66
"engines": {
7-
"node": ">=20.9",
8-
"npm": ">=7"
7+
"node": ">=22",
8+
"npm": ">=10"
99
},
1010
"scripts": {
1111
"dev": "concurrently --names=assets,server --prefix-colors=cyan.bold,magenta.bold 'rollup --config --watch' 'hugo server --buildDrafts --buildFuture --watch'",

0 commit comments

Comments
 (0)