add npm install

This commit is contained in:
Xinrui Chen 2022-09-03 19:32:34 -07:00
parent 8a3a586b58
commit 746602c2f5
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
@ -26,5 +26,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run test:unit
- run: npm run test