X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fmain.yml;h=7469978eecdeb7dd9c6f67de37d62b8c23666e64;hb=e640b5a83f70adfa3c2bdad13dfc3bba815388cc;hp=ae452ab30f4204016d9aed17df5ec40a1d04009a;hpb=62bf913822b9607464feb11042a2cfbedca2a9a9;p=poolifier.git diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae452ab3..7469978e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ -name: Node CI +name: NodeCI -on: [push] +on: [push, pull_request] jobs: build: @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x] + node-version: [12.x, 14.x] steps: - uses: actions/checkout@v1 @@ -22,5 +22,7 @@ jobs: npm ci npm run build --if-present npm run test + export COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} + npm run coverage env: CI: true