Skip to content

fix(pruefi format mapping): Corrects UTILMD values in pruefi mapping … #1112

fix(pruefi format mapping): Corrects UTILMD values in pruefi mapping …

fix(pruefi format mapping): Corrects UTILMD values in pruefi mapping … #1112

name: 'Pull Request'
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20.13'
cache: 'npm'
- name: Install modules
run: npm ci
- name: Prettier
run: npm run format:check
- name: Lint frontend
run: npm run ng:lint
- name: Lint server
run: npm run server:lint
- name: Unit tests
run: npm test
env:
# secret is set in organization settings
# https://github.com/organizations/Hochfrequenz/settings/secrets/actions/SQLITE_AHB_DB_7Z_ARCHIVE_PASSWORD
DB_7Z_ARCHIVE_PASSWORD: ${{ secrets.SQLITE_AHB_DB_7Z_ARCHIVE_PASSWORD }}
- name: Build frontend
run: npm run ng:build
- name: Build server
run: npm run server:build