diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a1c75e2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Coverage Diff + +on: + push: + branches: + - master + pull_request: {} + +jobs: + test: + name: Coverage Diff + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16 + cache: yarn + - run: yarn install + - run: yarn run test:coverage + - name: Coverage Diff + uses: greatwizard/coverage-diff-action@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}