From 1da31effb49ca5c6f7f4caed9b0abc21c50a8caf Mon Sep 17 00:00:00 2001 From: alexeh Date: Mon, 2 Dec 2024 08:09:27 +0100 Subject: [PATCH] bump api node to 22.11 --- .github/workflows/testing-api.yml | 18 +++++++++--------- api/.nvmrc | 2 +- api/Dockerfile | 2 +- api/package.json | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/testing-api.yml b/.github/workflows/testing-api.yml index 5323b26bd..49416788f 100644 --- a/.github/workflows/testing-api.yml +++ b/.github/workflows/testing-api.yml @@ -40,10 +40,10 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Use Node.js 18.16 - uses: actions/setup-node@v3 + - name: Setup Node + uses: actions/setup-node@v4 with: - node-version: '18.16' + node-version-file: './api/.nvmrc' - name: Install API dependencies working-directory: api @@ -88,10 +88,10 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Use Node.js 18.16 - uses: actions/setup-node@v3 + - name: Setup Node + uses: actions/setup-node@v4 with: - node-version: '18.16' + node-version-file: './api/.nvmrc' - name: Install API dependencies working-directory: api @@ -114,10 +114,10 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Use Node.js 18.16 - uses: actions/setup-node@v3 + - name: Setup Node + uses: actions/setup-node@v4 with: - node-version: '18.16' + node-version-file: './api/.nvmrc' - name: Install API dependencies working-directory: api diff --git a/api/.nvmrc b/api/.nvmrc index b492b0863..8b84b727b 100644 --- a/api/.nvmrc +++ b/api/.nvmrc @@ -1 +1 @@ -18.16 +22.11 diff --git a/api/Dockerfile b/api/Dockerfile index 87d88ba2d..41711e349 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.16-alpine3.17 +FROM node:22.11-alpine3.19 LABEL maintainer="hello@vizzuality.com" ARG UID=5000 diff --git a/api/package.json b/api/package.json index 4255e0c95..22de72966 100644 --- a/api/package.json +++ b/api/package.json @@ -24,7 +24,7 @@ "test:e2e": "NODE_OPTIONS=\"--max-old-space-size=6144\" node --expose-gc ./node_modules/.bin/jest --config test/jest-config.json --logHeapUsage --forceExit -i test/e2e/" }, "engines": { - "node": "^18.16" + "node": "^22.11" }, "dependencies": { "@google-cloud/bigquery": "^7.5.0",