Skip to content

Commit 00c0ecd

Browse files
committed
chore: update node requirement to 20
also updates workflows
1 parent 4c5311a commit 00c0ecd

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
uses: pnpm/action-setup@v4
1818
with:
1919
version: 9
20-
- name: Use Node.js 18
20+
- name: Use Node.js 20
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: 18
23+
node-version: 20
2424
cache: 'pnpm'
2525
- name: Install dependencies
2626
run: pnpm install
@@ -55,10 +55,10 @@ jobs:
5555
uses: pnpm/action-setup@v4
5656
with:
5757
version: 9
58-
- name: Use Node.js 18
58+
- name: Use Node.js 20
5959
uses: actions/setup-node@v4
6060
with:
61-
node-version: 18
61+
node-version: 20
6262
cache: 'pnpm'
6363
- name: Install dependencies
6464
run: pnpm install

.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
node-version: [18, 20, 22]
26+
node-version: [20, 22]
2727
steps:
2828
- name: Checkout repository
2929
uses: actions/checkout@v4
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:
50-
node-version: [18, 20, 22]
50+
node-version: [20, 22]
5151
steps:
5252
- name: Checkout repository
5353
uses: actions/checkout@v4
@@ -77,10 +77,10 @@ jobs:
7777
uses: pnpm/action-setup@v4
7878
with:
7979
version: 9
80-
- name: Use Node.js 18
80+
- name: Use Node.js 20
8181
uses: actions/setup-node@v4
8282
with:
83-
node-version: 18
83+
node-version: 20
8484
cache: 'pnpm'
8585
- name: Install dependencies
8686
run: pnpm install

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "4.1.3",
44
"type": "module",
55
"engines": {
6-
"node": ">=18.12.0"
6+
"node": ">=20"
77
},
88
"description": "Skeleton for ZPTX projects, containing the base for our Discord projects",
99
"publishConfig": {

0 commit comments

Comments
 (0)