chore: use node 18 and npm 8

This commit is contained in:
Jeremy Kahn 2022-08-07 21:36:52 -05:00
parent bce45f1efa
commit f44fe225a8
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -17,7 +17,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
node-version: 18
cache: 'npm'
- name: Build

View File

@ -22,6 +22,10 @@
"react-app/jest"
]
},
"engines": {
"node": "18.x",
"npm": "8.x"
},
"browserslist": {
"production": [
">0.2%",