diff --git a/.github/workflows/validate-pr-in-merge-queue.yml b/.github/workflows/code-checks.yml similarity index 96% rename from .github/workflows/validate-pr-in-merge-queue.yml rename to .github/workflows/code-checks.yml index 6f6a3f32..078c3991 100644 --- a/.github/workflows/validate-pr-in-merge-queue.yml +++ b/.github/workflows/code-checks.yml @@ -1,7 +1,10 @@ -name: Validate PR In Merge Queue +name: Code Checks on: merge_group: + push: + branches: + - '**' jobs: lint-eslint: diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml deleted file mode 100644 index 3851dd0c..00000000 --- a/.github/workflows/validate-pr.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: Validate PR - -on: - pull_request: - branches: - - 'dev' - - 'main' - -jobs: - lint-eslint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: ./.github/actions/provision - - - name: Lint - run: yarn lint:eslint - - lint-filename: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: ./.github/actions/provision - - - name: File name checker - run: yarn lint:filename - - lint-prettier: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: ./.github/actions/provision - - - name: Lint - run: yarn lint:prettier - - lint-unused-exports: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: ./.github/actions/provision - - - name: Lint unused TypeScript exports - run: yarn lint:unused-exports - - typecheck: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: ./.github/actions/provision - - - name: Typecheck - run: yarn typecheck - - test-unit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: ./.github/actions/provision - - - name: Test - run: yarn test:unit