update github action

This commit is contained in:
LouisLam 2021-10-05 20:42:15 +08:00
parent edad2caf8e
commit b7ae49c644
1 changed files with 3 additions and 4 deletions

View File

@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [14.x, 15.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
@ -26,9 +26,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
env:
HEADLESS_TEST: 1
- run: npm ci
- run: npm run build
- run: npm test
env:
HEADLESS_TEST: 1