Upgrade to Angular 15 #75
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: Lint frontend | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
permissions: | |
checks: write | |
contents: write | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ./.github/workflows/frontend_install | |
- name: Run frontend linters | |
working-directory: frontend | |
run: npm run lint | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ./.github/workflows/frontend_install | |
- name: Verify code style | |
working-directory: frontend | |
run: npx prettier --check . | |
unit_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ./.github/workflows/frontend_install | |
- name: Run unit tests | |
working-directory: frontend | |
run: npm run ci:karma |