Merge pull request #2780 from reactstrap/release-please--branches--ma… #1512
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: Test Coverage | |
on: | |
push: | |
branches: [ master, bootstrap5 ] | |
pull_request: | |
branches: [ master, bootstrap5 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 12.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
cache: 'yarn' | |
- run: rm -rf node_modules && yarn install --frozen-lockfile | |
- name: Run Coverage | |
run: | | |
npm run cover -- --runInBand | |
- name: Upload to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |