Skip to content

docs: Titelbild für die README #11

docs: Titelbild für die README

docs: Titelbild für die README #11

Workflow file for this run

name: Lint & Type Check
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
lint:
runs-on: [self-hosted, Linux]
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
continue-on-error: false
- name: Run TypeScript type check
run: npm run type-check
continue-on-error: false
- name: Run tests
run: npm run test -- --coverage
continue-on-error: true
- name: Upload coverage
uses: codecov/codecov-action@v3
if: always()
with:
files: ./coverage/coverage-final.json
flags: unittests
name: codecov-umbrella