1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-08 22:31:30 +01:00

build(deps): bump Node.js to 20.0.0 and npm to 9.0.0

BREAKING CHANGE: minimum supported Node.js >= 20.0.0 and npm >= 9.0.0
This commit is contained in:
Théo LUDWIG 2023-07-30 19:03:36 +02:00
parent 6d0dcb50a7
commit 5640f1b434
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
8 changed files with 17 additions and 17 deletions

View File

@ -13,9 +13,9 @@ jobs:
- uses: 'actions/checkout@v3.5.3'
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.6.0'
uses: 'actions/setup-node@v3.7.0'
with:
node-version: '18.x'
node-version: '20.x'
cache: 'npm'
- name: 'Install dependencies'

View File

@ -13,9 +13,9 @@ jobs:
- uses: 'actions/checkout@v3.5.3'
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.6.0'
uses: 'actions/setup-node@v3.7.0'
with:
node-version: '18.x'
node-version: '20.x'
cache: 'npm'
- name: 'Install dependencies'

View File

@ -21,9 +21,9 @@ jobs:
git_commit_gpgsign: true
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.6.0'
uses: 'actions/setup-node@v3.7.0'
with:
node-version: '18.x'
node-version: '20.x'
cache: 'npm'
- name: 'Install dependencies'

View File

@ -13,9 +13,9 @@ jobs:
- uses: 'actions/checkout@v3.5.3'
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.6.0'
uses: 'actions/setup-node@v3.7.0'
with:
node-version: '18.x'
node-version: '20.x'
cache: 'npm'
- name: 'Install dependencies'
@ -30,9 +30,9 @@ jobs:
- uses: 'actions/checkout@v3.5.3'
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.6.0'
uses: 'actions/setup-node@v3.7.0'
with:
node-version: '18.x'
node-version: '20.x'
cache: 'npm'
- name: 'Install dependencies'

View File

@ -33,8 +33,8 @@ The commit message guidelines adheres to [Conventional Commits](https://www.conv
### Prerequisites
- [Node.js](https://nodejs.org/) >= 16.0.0
- [npm](https://www.npmjs.com/) >= 8.0.0
- [Node.js](https://nodejs.org/) >= 20.0.0
- [npm](https://www.npmjs.com/) >= 9.0.0
### Installation

View File

@ -9,7 +9,7 @@ COPY --from=builder-dependencies /usr/src/application/node_modules ./node_module
COPY ./ ./
RUN npm run build
FROM gcr.io/distroless/nodejs18-debian11:latest AS runner
FROM gcr.io/distroless/nodejs20-debian11:latest AS runner
WORKDIR /usr/src/application
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1

4
package-lock.json generated
View File

@ -77,8 +77,8 @@
"typescript": "5.1.6"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
"node": ">=20.0.0",
"npm": ">=9.0.0"
}
},
"curriculum-vitae": {

View File

@ -7,8 +7,8 @@
"url": "https://github.com/theoludwig/theoludwig"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
"node": ">=20.0.0",
"npm": ">=9.0.0"
},
"scripts": {
"dev": "next dev",