Merge branch 'master' into develop #35
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: CI | |
on: | |
push: | |
pull_request: | |
branches: | |
- develop | |
- main | |
jobs: | |
popoto_tests: | |
name: Run all tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: "npm" | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Build code | |
run: npm run build | |
- name: Run all the tests | |
run: npm test | |
- name: publish code coverage on CC | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} |