update github action

This commit is contained in:
LouisLam 2021-10-05 20:42:15 +08:00
parent edad2caf8e
commit b7ae49c644

View File

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