Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,26 @@ jobs:
- name: Run HTMLHint
run: npx htmlhint "src" --config .htmlhintrc

- name: Run unit tests with coverage
id: unit-tests
continue-on-error: true
run: |
npm run test:ci -- \
--coverageReporters=lcov \
--coverageReporters=text-summary

- name: Upload coverage to Codecov
if: ${{ always() && steps.unit-tests.outcome != 'skipped' }}
uses: codecov/codecov-action@v5
with:
files: ./coverage/lcov.info
disable_search: true
flags: unit-tests
handle_no_reports_found: true
name: web-app
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false

- name: Check file headers
run: |
echo "Checking for MPL-2.0 license headers in changed files..."
Expand Down
Loading