update github action

pull/563/head
LouisLam 3 years ago
parent edad2caf8e
commit b7ae49c644

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

Loading…
Cancel
Save