Running continuous integration on Allimonae's commits #367
Workflow file for this run
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: CI | |
| run-name: Running continuous integration on ${{ github.actor }}'s commits | |
| # Triggers: | |
| # - push to main (merges, hotfixes — not tags) | |
| # - pull requests targeting main (covers feature-branch work) | |
| # Feature-branch pushes are handled by the pull_request trigger, so push is | |
| # scoped to main to avoid running every job twice on PRs. | |
| # Does NOT fire on tag-only pushes or unrelated events. | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| backend-pretest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Run workflow | |
| uses: ./.github/composite/test/backend-pretest | |
| frontend-pretest: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: js | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Run workflow | |
| uses: ./.github/composite/test/frontend-pretest | |
| backendTests: | |
| name: Backend Tests | |
| runs-on: ubuntu-latest | |
| needs: backend-pretest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Run workflow | |
| uses: ./.github/composite/test/backend-test | |
| frontendTests: | |
| name: Frontend Tests | |
| runs-on: ubuntu-latest | |
| needs: frontend-pretest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Run workflow | |
| uses: ./.github/composite/test/frontend-test |