Feature/use GitHub actions #160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 20 | |
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 }} | |