Upgrade to Angular 13 #1870
Workflow file for this run
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
# The purpose of this workflow file is to generate | |
# a code coverage report from Codecov on new | |
# pushes and pull requests to the master branch | |
name: Get Code Coverage Report | |
on: | |
push: | |
branches: [master, release] | |
pull_request: | |
branches: [master, release] | |
jobs: | |
code-coverage: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# Note: This step is necessary inclusion for the project to work on node 16. | |
# Please refer to the Angular 13 PR for more information | |
# Angular 13 PR: https://github.com/CATcher-org/CATcher/pull/1249 | |
- name: npm 7 | |
run: npm i -g npm@7 --registry=https://registry.npmjs.org | |
- run: npm install | |
- run: npm run test -- "--code-coverage" "--source-map=false" | |
- uses: codecov/codecov-action@v3 | |
with: | |
directory: ./tests/coverage |