From 7e0361f8556e35c3a13a525144c0743e9ff48b3f Mon Sep 17 00:00:00 2001 From: clairenollet Date: Tue, 17 Sep 2024 14:54:32 +0200 Subject: [PATCH] chore: :arrow_up: upgrade node and pnpm --- .github/workflows/cd.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/npm.yml | 4 ++-- .github/workflows/tests-component.yml | 4 ++-- .github/workflows/tests-e2e.yml | 4 ++-- .github/workflows/tests-unit.yml | 4 ++-- .prototools | 4 ++-- apps/client/Dockerfile | 4 ++-- apps/server/Dockerfile | 6 +++--- package.json | 4 ++-- 11 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ad3b41854..047f7afa5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,8 +10,8 @@ env: NAMESPACE: "${{ github.repository }}" MULTI_ARCH: true USE_QEMU: false - NODE_VERSION: 20.16.0 - PNPM_VERSION: 9.7.1 + NODE_VERSION: 20.17.0 + PNPM_VERSION: 9.10.0 jobs: expose-vars: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b1f950fa..0979f45f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,8 @@ on: workflow_dispatch: env: - NODE_VERSION: 20.16.0 - PNPM_VERSION: 9.7.1 + NODE_VERSION: 20.17.0 + PNPM_VERSION: 9.10.0 REGISTRY: ghcr.io NAMESPACE: "${{ github.repository }}" MULTI_ARCH: false diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f07480f6e..25f87a8dc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,12 +15,12 @@ on: description: Nodejs version used to run tests required: true type: string - default: 20.16.0 + default: 20.17.0 PNPM_VERSION: description: Pnpm version used to run tests required: true type: string - default: 9.7.1 + default: 9.10.0 jobs: lint: diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index a6bf66732..13f95a15f 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -27,12 +27,12 @@ on: description: Nodejs version used required: true type: string - default: 20.16.0 + default: 20.17.0 PNPM_VERSION: description: Pnpm version used required: true type: string - default: 9.7.1 + default: 9.10.0 PUBLISH_APPS: description: Publish apps modules required: true diff --git a/.github/workflows/tests-component.yml b/.github/workflows/tests-component.yml index 49fd34aa8..d39398b88 100644 --- a/.github/workflows/tests-component.yml +++ b/.github/workflows/tests-component.yml @@ -18,12 +18,12 @@ on: description: Nodejs version used to run tests required: true type: string - default: 20.16.0 + default: 20.17.0 PNPM_VERSION: description: Pnpm version used to run tests required: true type: string - default: 9.7.1 + default: 9.10.0 BROWSERS: description: Comma separeted browser list to run tests on (Options are 'electron', 'chrome', 'edge', 'firefox') required: false diff --git a/.github/workflows/tests-e2e.yml b/.github/workflows/tests-e2e.yml index 08bc2b10a..165526529 100644 --- a/.github/workflows/tests-e2e.yml +++ b/.github/workflows/tests-e2e.yml @@ -21,12 +21,12 @@ on: description: Nodejs version used to run tests required: true type: string - default: 20.16.0 + default: 20.17.0 PNPM_VERSION: description: Pnpm version used to run tests required: true type: string - default: 9.7.1 + default: 9.10.0 TAG: description: Image tag used to run tests required: true diff --git a/.github/workflows/tests-unit.yml b/.github/workflows/tests-unit.yml index d8e3e471e..8ce2f860c 100644 --- a/.github/workflows/tests-unit.yml +++ b/.github/workflows/tests-unit.yml @@ -22,12 +22,12 @@ on: description: Nodejs version used to run tests required: true type: string - default: 20.16.0 + default: 20.17.0 PNPM_VERSION: description: Pnpm version used to run tests required: true type: string - default: 9.7.1 + default: 9.10.0 jobs: unit-tests: diff --git a/.prototools b/.prototools index 17c4ff180..1856961c8 100644 --- a/.prototools +++ b/.prototools @@ -1,5 +1,5 @@ -node = "20.16.0" -pnpm = "9.7.1" +node = "20.17.0" +pnpm = "9.10.0" [settings] auto-install = true \ No newline at end of file diff --git a/apps/client/Dockerfile b/apps/client/Dockerfile index d4d0d5f86..a61fd70ba 100644 --- a/apps/client/Dockerfile +++ b/apps/client/Dockerfile @@ -1,8 +1,8 @@ # Dev stage -FROM docker.io/node:20.16.0-bullseye-slim AS dev +FROM docker.io/node:20.17.0-bullseye-slim AS dev WORKDIR /app -RUN npm install --ignore-scripts --location=global pnpm@9.7.1 +RUN npm install --ignore-scripts --location=global pnpm@9.10.0 COPY --chown=node:root package.json pnpm-workspace.yaml pnpm-lock.yaml .npmrc ./ COPY --chown=node:root patches ./patches COPY --chown=node:root apps/client/package.json ./apps/client/package.json diff --git a/apps/server/Dockerfile b/apps/server/Dockerfile index 5f1e5a81b..ba7c8be7f 100644 --- a/apps/server/Dockerfile +++ b/apps/server/Dockerfile @@ -1,8 +1,8 @@ # Base stage -FROM docker.io/node:20.16.0-bullseye-slim AS dev +FROM docker.io/node:20.17.0-bullseye-slim AS dev WORKDIR /app -RUN npm install --ignore-scripts --location=global pnpm@9.7.1 +RUN npm install --ignore-scripts --location=global pnpm@9.10.0 COPY --chown=node:root package.json pnpm-workspace.yaml pnpm-lock.yaml .npmrc turbo.json ./ COPY --chown=node:root patches ./patches @@ -42,7 +42,7 @@ RUN pnpm --filter @cpn-console/server --prod deploy build # Prod stage -FROM docker.io/node:20.16.0-bullseye-slim AS prod +FROM docker.io/node:20.17.0-bullseye-slim AS prod ARG APP_VERSION ENV APP_VERSION=$APP_VERSION diff --git a/package.json b/package.json index 0da72dcba..7c5169c01 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "type": "module", "version": "8.11.1", "private": true, - "packageManager": "pnpm@9.7.1", + "packageManager": "pnpm@9.10.0", "scripts": { "build": "turbo run build --color --no-daemon", "build:clean": "turbo run build:clean --no-daemon", @@ -77,6 +77,6 @@ "allowNonAppliedPatches": true }, "volta": { - "node": "20.16.0" + "node": "20.17.0" } }