diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml new file mode 100644 index 0000000..f0ac17e --- /dev/null +++ b/.github/workflows/coveralls.yml @@ -0,0 +1,27 @@ +name: Test Coveralls + +on: ["push", "pull_request"] + +jobs: + + build: + name: Build + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v1 + + - name: Use Node.js 14.x + uses: actions/setup-node@v1 + with: + node-version: 14.x + + - name: npm install, npm run coverage + run: | + npm install + npm run coverage + + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }}