1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 01:03:20 +01:00

switch to Node.js v20

This commit is contained in:
Matthias Kretschmann 2024-02-05 23:04:49 +00:00
parent c851e43f06
commit de2f1227d2
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 20
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
@ -58,7 +58,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 20
cache: 'npm' cache: 'npm'
- name: Cache Next.js build output - name: Cache Next.js build output

2
.nvmrc
View File

@ -1 +1 @@
18 20

2
package-lock.json generated
View File

@ -48,7 +48,7 @@
"typescript": "^5.3.3" "typescript": "^5.3.3"
}, },
"engines": { "engines": {
"node": "18" "node": "20"
} }
}, },
"node_modules/@aashutoshrathi/word-wrap": { "node_modules/@aashutoshrathi/word-wrap": {

View File

@ -63,7 +63,7 @@
"typescript": "^5.3.3" "typescript": "^5.3.3"
}, },
"engines": { "engines": {
"node": "18" "node": "20"
}, },
"browserslist": [ "browserslist": [
"> 0.2%", "> 0.2%",