Merge pull request #1 from pioardi/dependabot/npm_and_yarn/expect-25.1.0
[poolifier.git] / .github / workflows / main.yml
CommitLineData
03c4fc30 1name: NodeCI
ec8d1fd4 2
081a1f3c 3on: [push, pull_request]
ec8d1fd4
APA
4
5jobs:
6 build:
7
8 runs-on: ubuntu-latest
9
332d9613
APA
10 strategy:
11 matrix:
d9992bf9 12 node-version: [12.x, 13.x]
332d9613 13
ec8d1fd4
APA
14 steps:
15 - uses: actions/checkout@v1
332d9613
APA
16 - name: Use Node.js ${{ matrix.node-version }}
17 uses: actions/setup-node@v1
18 with:
19 node-version: ${{ matrix.node-version }}
20 - name: npm install, build, and test
ec8d1fd4 21 run: |
332d9613
APA
22 npm ci
23 npm run build --if-present
24 npm run test
ce0b1c1e 25 export COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }}
26 npm run coverage
332d9613
APA
27 env:
28 CI: true