From 3d825344c0600477bd1e1716c54712fd3820bf8d Mon Sep 17 00:00:00 2001 From: Nick Merwin Date: Mon, 25 Nov 2019 13:15:38 -0800 Subject: [PATCH] use Coveralls GitHub action --- .github/workflows/test.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8179c8d..1dda40fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,9 @@ jobs: run: npm install # switch to `npm ci` when Node.js 6 support is dropped - name: Run tests - run: npm run test-coveralls - env: - COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}" - COVERALLS_GIT_BRANCH: "${{ github.ref }}" + run: npm run test-cov + + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }}