chore: add frontend dockerfile #7
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
| name: checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - stage | |
| - dev | |
| pull_request: | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| command: | |
| - frontend-lint | |
| - frontend-format | |
| - backend-typecheck | |
| - backend-lint | |
| - backend-format | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install uv and Python dependencies | |
| run: | | |
| pip install uv | |
| make install | |
| - name: Run ${{ matrix.command }} | |
| run: uvx lefthook run pre-commit --command ${{ matrix.command }} --all-files |