Skip to content

Commit 340f3a8

Browse files
committed
Node -> 22
Prerequisite for Graphile 5.0.0-rc.4
1 parent 33e7cd5 commit 340f3a8

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/cypress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [18.x]
18+
node-version: [22.x]
1919

2020
services:
2121
postgres:

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [18.x]
16+
node-version: [22.x]
1717

1818
services:
1919
postgres:

.github/workflows/pgrita.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [18.x]
11+
node-version: [22.x]
1212

1313
services:
1414
postgres:

.github/workflows/production-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [18.x]
11+
node-version: [22.x]
1212

1313
services:
1414
postgres:

.github/workflows/windows-nodejs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
git config --global core.eol lf
2121
- name: Checkout
2222
uses: actions/checkout@v2
23-
- name: Use Node.js 18
23+
- name: Use Node.js 22
2424
uses: actions/setup-node@v1
2525
with:
26-
node-version: "18"
26+
node-version: "22"
2727
- name: Start Postgres 14
2828
run: |
2929
sc config postgresql-x64-14 start=auto

production.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG TARGET="server"
77
################################################################################
88
# Build stage 1 - `yarn build`
99

10-
FROM node:18-alpine as builder
10+
FROM node:22-alpine as builder
1111
# Import our shared args
1212
ARG NODE_ENV
1313
ARG ROOT_URL

scripts/_setup_utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
if (parseInt(process.version.split(".")[0], 18) < 18) {
2-
throw new Error("This project requires Node.js >= 18.0.0");
1+
if (parseInt(process.version.split(".")[0], 22) < 22) {
2+
throw new Error("This project requires Node.js >= 22.0.0");
33
}
44

55
const fsp = require("fs").promises;

0 commit comments

Comments
 (0)