diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e62202..8d124e0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,28 +25,23 @@ jobs: - run: npm ci - run: npm run build - - run: npm test - - coverage: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Use Node.js 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - run: npm ci - run: npm run test+coverage - name: Coveralls + continue-on-error: true uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }} + flag-name: run-${{ matrix.node-version }} + parallel: true + + coverage: + needs: build + runs-on: ubuntu-latest + + steps: + - name: Coveralls Finish + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel-finished: true \ No newline at end of file