ci(test): run frontend checks on v2 pushes (#572)

This commit is contained in:
InfinityPacer
2026-07-22 06:59:27 +08:00
committed by GitHub
parent 0fb5bbebc6
commit c1bb54a31e
7 changed files with 128 additions and 6 deletions

View File

@@ -4,16 +4,20 @@ on:
pull_request:
branches:
- v2
push:
branches:
- v2
permissions:
contents: read
concurrency:
group: frontend-tests-${{ github.event.pull_request.number }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
format:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
@@ -58,7 +62,7 @@ jobs:
- name: Lint
run: yarn lint
unit-tests:
typecheck-and-coverage:
runs-on: ubuntu-latest
timeout-minutes: 20
steps: