Skip to content

Commit ce8958c

Browse files
authored
chore: update Node.js version to 16.10.0 or >=18.0.0 in package.json (#74)
1 parent 042b09c commit ce8958c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- run: corepack enable
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 16
19+
node-version-file: package.json
2020
cache: 'pnpm'
2121
- run: pnpm install
2222
- run: pnpm lint

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- run: corepack enable
6161
- uses: actions/setup-node@v4
6262
with:
63-
node-version: 16
63+
node-version-file: package.json
6464
cache: 'pnpm'
6565
- name: Install dependencies
6666
run: pnpm install

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@
5656
"unbuild": "^2.0.0",
5757
"vitest": "^1.4.0"
5858
},
59-
"packageManager": "[email protected]"
59+
"packageManager": "[email protected]",
60+
"engines": {
61+
"node": "^16.10.0 || >=18.0.0"
62+
}
6063
}

0 commit comments

Comments
 (0)