From adab927b11158d44c724cddfe9d9001c85356735 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Sun, 8 Mar 2020 13:30:46 -0700 Subject: [PATCH] build: continue running coveralls on master (#1583) --- .github/workflows/coverage.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/coverage.yaml diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml new file mode 100644 index 000000000..964f03cf8 --- /dev/null +++ b/.github/workflows/coverage.yaml @@ -0,0 +1,19 @@ +on: + push: + branches: + - master +name: coverage +jobs: + coveralls: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 13 + - run: npm install + - run: npm test + - run: c8 report --reporter=text-lcov | npx coveralls + env: + COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}" + COVERALLS_GIT_BRANCH: "${{ github.ref }}"