Skip to content

Commit

Permalink
chore: ⬆️ upgrade node and pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
clairenollet committed Sep 17, 2024
1 parent 0c1a0d1 commit 7e0361f
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .prototools
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
node = "20.16.0"
pnpm = "9.7.1"
node = "20.17.0"
pnpm = "9.10.0"

[settings]
auto-install = true
4 changes: 2 additions & 2 deletions apps/client/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions apps/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -77,6 +77,6 @@
"allowNonAppliedPatches": true
},
"volta": {
"node": "20.16.0"
"node": "20.17.0"
}
}

0 comments on commit 7e0361f

Please sign in to comment.