blob: d28e02df46eae4d575fba08950107744e90c3ddf [file] [log] [blame]
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +02001name: tests
2
3on: [push]
4
5jobs:
6 build:
7
8 runs-on: ubuntu-latest
9
10 strategy:
11 matrix:
12 node-version: [10.x, 14.x, 16.x]
13
14 steps:
15 - uses: actions/checkout@v2
16 - name: Use Node.js ${{ matrix.node-version }}
17 uses: actions/setup-node@v1
18 with:
19 node-version: ${{ matrix.node-version }}
20 - run: npm install
21 - run: npm run build --if-present
22 - run: npm test
23 env:
24 CI: true