From d6fea77a3ee2e1a58b2f4b6b9720ee1f60fbbabe Mon Sep 17 00:00:00 2001 From: Polybius93 Date: Tue, 19 Dec 2023 11:08:45 +0100 Subject: [PATCH] fix: revert "updated github actions" This reverts commit 31cf59a53b9d37aeff9339863c76659333bcbae3. --- ...-pr-in-merge-queue.yml => code-checks.yml} | 5 +- .github/workflows/validate-pr.yml | 62 ------------------- 2 files changed, 4 insertions(+), 63 deletions(-) rename .github/workflows/{validate-pr-in-merge-queue.yml => code-checks.yml} (96%) delete mode 100644 .github/workflows/validate-pr.yml 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