-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Bring back merge queues (#15177)
* chore: Bring back merge queues * Removed lint as pre-req for integration test * Cleaned up warnings
- Loading branch information
1 parent
49df99c
commit ba06c6c
Showing
3 changed files
with
97 additions
and
69 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: All checks | ||
|
||
on: | ||
merge_group: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
type-check: | ||
name: Type check | ||
uses: ./.github/workflows/check-types.yml | ||
secrets: inherit | ||
|
||
lint: | ||
name: Linters | ||
uses: ./.github/workflows/lint.yml | ||
secrets: inherit | ||
|
||
unit-test: | ||
name: Tests | ||
uses: ./.github/workflows/unit-tests.yml | ||
secrets: inherit | ||
|
||
build-api-v1: | ||
name: Production builds | ||
uses: ./.github/workflows/api-v1-production-build.yml | ||
secrets: inherit | ||
|
||
build-api-v2: | ||
name: Production builds | ||
uses: ./.github/workflows/api-v2-production-build.yml | ||
secrets: inherit | ||
|
||
build: | ||
name: Production builds | ||
uses: ./.github/workflows/production-build-without-database.yml | ||
secrets: inherit | ||
|
||
integration-test: | ||
name: Tests | ||
needs: [lint, build, build-api-v1, build-api-v2] | ||
uses: ./.github/workflows/integration-tests.yml | ||
secrets: inherit | ||
|
||
e2e: | ||
name: Tests | ||
needs: [lint, build, build-api-v1, build-api-v2] | ||
uses: ./.github/workflows/e2e.yml | ||
secrets: inherit | ||
|
||
e2e-app-store: | ||
name: Tests | ||
needs: [lint, build, build-api-v1, build-api-v2] | ||
uses: ./.github/workflows/e2e-app-store.yml | ||
secrets: inherit | ||
|
||
e2e-embed: | ||
name: Tests | ||
needs: [lint, build, build-api-v1, build-api-v2] | ||
uses: ./.github/workflows/e2e-embed.yml | ||
secrets: inherit | ||
|
||
e2e-embed-react: | ||
name: Tests | ||
needs: [lint, build, build-api-v1, build-api-v2] | ||
uses: ./.github/workflows/e2e-embed-react.yml | ||
secrets: inherit | ||
|
||
analyze: | ||
name: Analyze Build | ||
needs: [build] | ||
uses: ./.github/workflows/nextjs-bundle-analysis.yml | ||
secrets: inherit | ||
|
||
required: | ||
needs: [lint, type-check, unit-test, integration-test, build, build-api-v1, build-api-v2, e2e, e2e-embed, e2e-embed-react, e2e-app-store] | ||
if: always() | ||
runs-on: buildjet-2vcpu-ubuntu-2204 | ||
steps: | ||
- name: fail if conditional jobs failed | ||
run: exit 1 |
This file contains 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
This file contains 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