11 runs-on: ubuntu-latest
15 node-version: [12.x, 14.x]
19 uses: actions/checkout@v2
21 - name: Set node version to ${{ matrix.node-version }}
22 uses: actions/setup-node@v1
24 node-version: ${{ matrix.node-version }}
30 run: npm run build --if-present
33 if: github.ref != 'refs/heads/master'
36 - name: Test & Coverage
37 if: github.ref == 'refs/heads/master'
40 export COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }}