Merge pull request #67 from gladly-team/spicer/add-kueez #229
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: Unit test, log code coverage, and build | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run tests and build on Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- run: yarn install | |
- run: yarn test # generates coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- run: yarn run build |