Refactor Child Rendering to accept Observable #15
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: Continuous Integration Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-and-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
- name: Check Lint | |
run: npm run lint | |
- name: Check Style | |
run: npm run style | |
- name: Run Tests | |
run: npm test -- --coverage --coverageReporters lcov | |
- name: Install lcov | |
run: sudo apt-get -y install lcov | |
- name: Check code coverage | |
uses: zgosalvez/github-actions-report-lcov@v3 | |
with: | |
coverage-files: coverage/lcov.info | |
minimum-coverage: 85 | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
update-comment: true |