Added prettier standard to support prettier and use it in combination with standard
[poolifier.git] / .github / workflows / main.yml
CommitLineData
03c4fc30 1name: NodeCI
ec8d1fd4 2
081a1f3c 3on: [push, pull_request]
ec8d1fd4
APA
4
5jobs:
6 build:
ec8d1fd4
APA
7 runs-on: ubuntu-latest
8
332d9613
APA
9 strategy:
10 matrix:
07832614 11 node-version: [12.x, 14.x]
332d9613 12
ec8d1fd4 13 steps:
cf9aa6c3 14 - uses: actions/checkout@v1
15 - name: Use Node.js ${{ matrix.node-version }}
16 uses: actions/setup-node@v1
17 with:
18 node-version: ${{ matrix.node-version }}
19 - name: npm install, build, and test
20 run: |
21 npm ci
22 npm run build --if-present
23 npm run test
24 export COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }}
25 npm run coverage
26 env:
27 CI: true