From 3a5840144b8f636f9721ba431dbbe3bd5c2d9458 Mon Sep 17 00:00:00 2001 From: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com> Date: Thu, 10 Oct 2024 15:08:06 +0500 Subject: [PATCH] test: Remove support for Node 18 --- .github/workflows/ci.yml | 1 - Dockerfile | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc6fda7b3..6032988df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,6 @@ jobs: python-version: ["3.8", "3.12"] os: [ubuntu-20.04] toxenv: [django42] - node: [18, 20] env: DATA_API_VERSION: "latest" steps: diff --git a/Dockerfile b/Dockerfile index 80f7b753d..13cdd8900 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,8 +63,8 @@ WORKDIR ${INSIGHTS_CODE_DIR}/ # insights service config commands below RUN pip install --no-cache-dir -r ${INSIGHTS_CODE_DIR}/requirements/production.txt -RUN nodeenv ${INSIGHTS_NODEENV_DIR} --node=18.20.2 --prebuilt \ - && npm install -g npm@10.5.x +RUN nodeenv ${INSIGHTS_NODEENV_DIR} --node=20.15.1 --prebuilt \ + && npm install -g npm@10.7.x # Tried to cache the dependencies by copying related files after the npm install step but npm post install fails in that case. COPY . ${INSIGHTS_CODE_DIR}/