Skip to content

Commit

Permalink
Update Node to version 20 and Yarn to version 4
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRobertAnsart committed Mar 24, 2024
1 parent f05842b commit 45bc210
Show file tree
Hide file tree
Showing 15 changed files with 29,060 additions and 32,762 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.15.1'
node-version: "20.11.1"

# [3] install dependencies.
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.15.1'
node-version: "20.11.1"

# [3] install dependencies.
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.15.1'
node-version: "20.11.1"

# [3] install dependencies.
- name: Install dependencies
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.15.1'
node-version: "20.11.1"

# [3] install dependencies.
- name: Install dependencies
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.15.1'
node-version: "20.11.1"

# [3] install dependencies.
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.1
20.11.1
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.1
20.11.1
49,664 changes: 23,134 additions & 26,530 deletions .pnp.cjs

Large diffs are not rendered by default.

1,148 changes: 591 additions & 557 deletions .pnp.loader.mjs

Large diffs are not rendered by default.

363 changes: 0 additions & 363 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

873 changes: 0 additions & 873 deletions .yarn/releases/yarn-3.4.1.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
compressionLevel: mixed

yarnPath: .yarn/releases/yarn-3.4.1.cjs
enableGlobalCache: false

yarnPath: .yarn/releases/yarn-4.1.1.cjs
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# STAGE 1 - Typescript to Javascript
FROM node:16.15.1-slim as build-dependencies
FROM node:20.11.1-slim as build-dependencies

ARG BUILD_VERSION

Expand Down Expand Up @@ -41,7 +41,7 @@ ENV NODE_ENV production
RUN yarn build

# STAGE 2 - Docker server
FROM node:16.15.1-slim as prod
FROM node:20.11.1-slim as prod

# Add ffmpeg for audio mix
RUN apt-get update && apt-get install -yq ffmpeg
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.15.1-slim
FROM node:20.11.1-slim

RUN apt-get update

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,8 @@
"web-vitals": "^2.1.4",
"winston": "^3.8.0"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"volta": {
"node": "20.11.1"
}
}
Loading

0 comments on commit 45bc210

Please sign in to comment.