Skip to content

migrate some methods to waitFor #199

migrate some methods to waitFor

migrate some methods to waitFor #199

Workflow file for this run

name: Pull Request Checks
on: [pull_request]
jobs:
execute-pr-checks:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: install Angular CLI
run: npm install -g @angular/cli@17
- name: install dependencies
run: npm ci
- name: run linting for local server source
run: npm run lint-server
- name: run linting for project source
run: npm run lint
- name: run unit tests
run: npm run test -- --browsers ChromeHeadless --watch=false --source-map=false --code-coverage
- name: collect code coverage report
uses: irongut/[email protected]
with:
filename: coverage/**/cobertura-coverage.xml
badge: true
fail_below_min: false
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: false
output: both
thresholds: '50 75'
- name: publish coverage report to Pull Request
uses: marocchino/sticky-pull-request-comment@v2
with:
recreate: true
path: code-coverage-results.md