Fix missing test coverage #82
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2020-present Tobias Kunze | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: Frontend | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'src/pretalx/frontend/**' | |
| - 'src/pretalx/static/**' | |
| - '.github/workflows/frontend.yml' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'src/pretalx/frontend/**' | |
| - 'src/pretalx/static/**' | |
| - '.github/workflows/frontend.yml' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| FORCE_COLOR: 1 | |
| jobs: | |
| lint: | |
| name: eslint and biome | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: extractions/setup-just@v4 | |
| - name: Set up node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 'latest' | |
| - name: Install frontend dependencies | |
| run: just install-npm | |
| - name: Run eslint and biome | |
| run: just fmt-npm-check |