chore: use node 18 and npm 8
This commit is contained in:
parent
bce45f1efa
commit
f44fe225a8
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v2.3.1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 'lts/*'
|
||||
node-version: 18
|
||||
- run: npm ci --no-optional
|
||||
- run: npm test
|
||||
|
||||
|
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 'lts/*'
|
||||
node-version: 18
|
||||
cache: 'npm'
|
||||
|
||||
- name: Build
|
||||
|
@ -22,6 +22,10 @@
|
||||
"react-app/jest"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": "18.x",
|
||||
"npm": "8.x"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
|
Loading…
Reference in New Issue
Block a user