blob: af86bea236423a841746d936a9ec167649eb0e3e [file] [log] [blame]
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +02001name: tests
2
3on: [push]
4
Marc Kupietz09b75752023-10-07 09:32:19 +02005permissions:
6 contents: read
7
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +02008jobs:
9 build:
10
11 runs-on: ubuntu-latest
12
13 strategy:
14 matrix:
Marc Kupietz09b75752023-10-07 09:32:19 +020015 node-version: [14.x]
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020016
17 steps:
18 - uses: actions/checkout@v2
19 - name: Use Node.js ${{ matrix.node-version }}
20 uses: actions/setup-node@v1
21 with:
22 node-version: ${{ matrix.node-version }}
23 - run: npm install
24 - run: npm run build --if-present
25 - run: npm test
26 env:
27 CI: true