X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fmain.yml;h=7469978eecdeb7dd9c6f67de37d62b8c23666e64;hb=e640b5a83f70adfa3c2bdad13dfc3bba815388cc;hp=2dc44def1ec76f0e8eb4d7f4c2a85398a0d82863;hpb=332d96136411d888e6a1fef03b120f320072538f;p=poolifier.git diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2dc44def..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,7 +22,7 @@ jobs: npm ci npm run build --if-present npm run test - cd test/integration - ./integration.sh + export COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} + npm run coverage env: CI: true