From 5dc7e9c1c8f7e155df1d804d585a3b105a48eea2 Mon Sep 17 00:00:00 2001 From: prtksxna Date: Sat, 22 May 2021 23:46:46 +0530 Subject: [PATCH] build: add a coveralls workflow --- .github/workflows/coveralls.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/coveralls.yml 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 }}