Skip to content

Commit 7fa9253

Browse files
authored
Node 22 (#1997)
1 parent 996d8d5 commit 7fa9253

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.github/workflows/build-preview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 20
21+
node-version: 22
2222

2323
- name: Cache dependencies
2424
uses: actions/cache@v4

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Node
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: 20
29+
node-version: 22
3030

3131
- name: Cache dependencies
3232
uses: actions/cache@v4
@@ -59,7 +59,7 @@ jobs:
5959
- name: Setup Node
6060
uses: actions/setup-node@v4
6161
with:
62-
node-version: 20
62+
node-version: 22
6363
- name: Get package version
6464
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
6565
- name: Create release tag

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.9.0
1+
v22.16.0

docs/hosting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ stages:
189189
- build
190190
- deploy
191191
192-
image: node:20
192+
image: node:22
193193
cache: # Cache modules in between jobs
194194
key: $CI_COMMIT_REF_SLUG
195195
paths:

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Quartz is a fast, batteries-included static-site generator that transforms Markd
66

77
## 🪴 Get Started
88

9-
Quartz requires **at least [Node](https://nodejs.org/) v20** and `npm` v9.3.1 to function correctly. Ensure you have this installed on your machine before continuing.
9+
Quartz requires **at least [Node](https://nodejs.org/) v22** and `npm` v10.9.2 to function correctly. Ensure you have this installed on your machine before continuing.
1010

1111
Then, in your terminal of choice, enter the following commands line by line:
1212

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@jackyzha0/quartz",
33
"description": "🌱 publish your digital garden and notes as a website",
44
"private": true,
5-
"version": "4.5.0",
5+
"version": "4.5.1",
66
"type": "module",
77
"author": "jackyzha0 <j.zhao2k19@gmail.com>",
88
"license": "MIT",
@@ -20,8 +20,8 @@
2020
"profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1"
2121
},
2222
"engines": {
23-
"npm": ">=9.3.1",
24-
"node": ">=20"
23+
"npm": ">=10.9.2",
24+
"node": ">=22"
2525
},
2626
"keywords": [
2727
"site generator",

0 commit comments

Comments
 (0)