diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 89ad6ec0..47720758 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -32,7 +32,7 @@ on: - cron: '30 4 * * *' # Daily at 04:30 UTC env: - NODE_VERSION: '20' + NODE_VERSION: '22' PYTHON_VERSION: '3.11' permissions: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65025517..bf23b169 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: '18' + node-version: '22' cache: 'npm' - name: Setup Python diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 04b8f2b1..1dbae9d1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -48,7 +48,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: '18' + node-version: '22' cache: 'npm' - name: Setup Python @@ -119,7 +119,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: '18' + node-version: '22' cache: 'npm' - name: Install dependencies @@ -202,7 +202,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: '18' + node-version: '22' cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf4e1c2e..a83fbb0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: - name: 🔧 Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 # zizmor: ignore[cache-poisoning] no cache is configured here with: - node-version: '20' + node-version: '22' - name: 🐍 Setup Python uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 50cf0601..063540ef 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -138,7 +138,7 @@ jobs: if: env.IS_MANUAL == 'true' || steps.check_pr.outputs.needs_tag == 'true' uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 # zizmor: ignore[cache-poisoning] no cache is configured here with: - node-version: '20' + node-version: '22' - name: 👤 Configure git identity and remote if: env.IS_MANUAL == 'true' || steps.check_pr.outputs.needs_tag == 'true' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b438dd1..14b8d876 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ permissions: actions: read env: - NODE_VERSION: '18' + NODE_VERSION: '22' PYTHON_VERSION: '3.9' jobs: @@ -46,7 +46,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: '18' + node-version: '22' cache: 'npm' cache-dependency-path: package-lock.json @@ -139,7 +139,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: '18' + node-version: '22' cache: 'npm' - name: Setup Python @@ -321,7 +321,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: '18' + node-version: '22' cache: 'npm' - name: Download all test status artifacts diff --git a/.github/workflows/transform-results.yml b/.github/workflows/transform-results.yml index df4913f5..0c67c1eb 100644 --- a/.github/workflows/transform-results.yml +++ b/.github/workflows/transform-results.yml @@ -11,7 +11,7 @@ permissions: actions: read env: - NODE_VERSION: '20' + NODE_VERSION: '22' PYTHON_VERSION: '3.11' jobs: diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..2bd5a0a9 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22 diff --git a/Dockerfile b/Dockerfile index 54539f09..e0f23b4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage - Install dependencies and build project -FROM node:20-bullseye-slim AS builder +FROM node:22-bullseye-slim AS builder # Install build dependencies RUN apt-get update && apt-get install -y \ @@ -30,7 +30,7 @@ COPY . . RUN npm run setup && npm run build # Production stage - Final runtime image -FROM node:20-bullseye-slim AS production +FROM node:22-bullseye-slim AS production # Install runtime dependencies including Chrome RUN apt-get update && apt-get install -y \ diff --git a/config.json b/config.json index dfa77d2a..e293ca17 100644 --- a/config.json +++ b/config.json @@ -37,7 +37,7 @@ ] }, "requirements": { - "nodeVersion": 16, + "nodeVersion": 22, "tools": { "node": "node --version", "playwright": "npx playwright --version",