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:
parent
6d0dcb50a7
commit
5640f1b434
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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'
|
||||
|
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -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'
|
||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -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'
|
||||
|
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -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'
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
4
package-lock.json
generated
@ -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": {
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user