Skip to content

Commit b6223b3

Browse files
authored
Merge pull request #21 from lissy93/ref/upgrade-node-22
Upgrades to node 22+
2 parents adf8833 + fbebb70 commit b6223b3

10 files changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
- cron: '30 4 * * *' # Daily at 04:30 UTC
3333

3434
env:
35-
NODE_VERSION: '20'
35+
NODE_VERSION: '22'
3636
PYTHON_VERSION: '3.11'
3737

3838
permissions:

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup Node.js
4747
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
4848
with:
49-
node-version: '18'
49+
node-version: '22'
5050
cache: 'npm'
5151

5252
- name: Setup Python

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup Node.js
4949
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
5050
with:
51-
node-version: '18'
51+
node-version: '22'
5252
cache: 'npm'
5353

5454
- name: Setup Python
@@ -119,7 +119,7 @@ jobs:
119119
- name: Setup Node.js
120120
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
121121
with:
122-
node-version: '18'
122+
node-version: '22'
123123
cache: 'npm'
124124

125125
- name: Install dependencies
@@ -202,7 +202,7 @@ jobs:
202202
- name: Setup Node.js
203203
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
204204
with:
205-
node-version: '18'
205+
node-version: '22'
206206
cache: 'npm'
207207

208208
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: 🔧 Setup Node.js
4747
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 # zizmor: ignore[cache-poisoning] no cache is configured here
4848
with:
49-
node-version: '20'
49+
node-version: '22'
5050

5151
- name: 🐍 Setup Python
5252
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6

.github/workflows/tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
if: env.IS_MANUAL == 'true' || steps.check_pr.outputs.needs_tag == 'true'
139139
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 # zizmor: ignore[cache-poisoning] no cache is configured here
140140
with:
141-
node-version: '20'
141+
node-version: '22'
142142

143143
- name: 👤 Configure git identity and remote
144144
if: env.IS_MANUAL == 'true' || steps.check_pr.outputs.needs_tag == 'true'

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions:
2727
actions: read
2828

2929
env:
30-
NODE_VERSION: '18'
30+
NODE_VERSION: '22'
3131
PYTHON_VERSION: '3.9'
3232

3333
jobs:
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup Node.js
4747
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
4848
with:
49-
node-version: '18'
49+
node-version: '22'
5050
cache: 'npm'
5151
cache-dependency-path: package-lock.json
5252

@@ -139,7 +139,7 @@ jobs:
139139
- name: Setup Node.js
140140
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
141141
with:
142-
node-version: '18'
142+
node-version: '22'
143143
cache: 'npm'
144144

145145
- name: Setup Python
@@ -321,7 +321,7 @@ jobs:
321321
- name: Setup Node.js
322322
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
323323
with:
324-
node-version: '18'
324+
node-version: '22'
325325
cache: 'npm'
326326

327327
- name: Download all test status artifacts

.github/workflows/transform-results.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
actions: read
1212

1313
env:
14-
NODE_VERSION: '20'
14+
NODE_VERSION: '22'
1515
PYTHON_VERSION: '3.11'
1616

1717
jobs:

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage - Install dependencies and build project
2-
FROM node:20-bullseye-slim AS builder
2+
FROM node:22-bullseye-slim AS builder
33

44
# Install build dependencies
55
RUN apt-get update && apt-get install -y \
@@ -30,7 +30,7 @@ COPY . .
3030
RUN npm run setup && npm run build
3131

3232
# Production stage - Final runtime image
33-
FROM node:20-bullseye-slim AS production
33+
FROM node:22-bullseye-slim AS production
3434

3535
# Install runtime dependencies including Chrome
3636
RUN apt-get update && apt-get install -y \

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
]
3838
},
3939
"requirements": {
40-
"nodeVersion": 16,
40+
"nodeVersion": 22,
4141
"tools": {
4242
"node": "node --version",
4343
"playwright": "npx playwright --version",

0 commit comments

Comments
 (0)