Skip to content

Check all the configuration to find errors #238

Check all the configuration to find errors

Check all the configuration to find errors #238

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- dev
jobs:
lint:
name: Linter
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Lint
run: |
npm install
npm run lint
tests:
name: Tests
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Tests
run: |
npm install
npm test
- name: Archive
uses: actions/upload-artifact@v3
with:
name: test-report
path: |
test-report/test-report.html
- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: coverage/cobertura-coverage.xml
fail_below_min: true
thresholds: '45 60'
indicators: true