Scheduling infrastructure for absolutely everyone.
chore: Remove unit tests from running after crowd in (#15880)
Keith Williamsf940f6bd87b9
diff --git a/.github/workflows/api-v1-production-build.yml b/.github/workflows/api-v1-production-build.ymlindex 80a24ef801b..1faaf6bb8a5 100644--- a/.github/workflows/api-v1-production-build.yml+++ b/.github/workflows/api-v1-production-build.yml@@ -3,6 +3,9 @@ name: Production Buildson:workflow_call:+permissions:+ contents: read+env:ALLOWED_HOSTNAMES: ${{ vars.CI_ALLOWED_HOSTNAMES }}CALENDSO_ENCRYPTION_KEY: ${{ secrets.CI_CALENDSO_ENCRYPTION_KEY }}diff --git a/.github/workflows/api-v2-production-build.yml b/.github/workflows/api-v2-production-build.ymlindex 28fe054a93e..aa5709ea1c0 100644--- a/.github/workflows/api-v2-production-build.yml+++ b/.github/workflows/api-v2-production-build.yml@@ -10,6 +10,8 @@ env:jobs:build:name: Build API v2+ permissions:+ contents: readruns-on: buildjet-4vcpu-ubuntu-2204timeout-minutes: 30services:diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.ymlindex 3ed84d98b77..0a4eb817fc4 100644--- a/.github/workflows/check-types.yml+++ b/.github/workflows/check-types.yml@@ -3,6 +3,8 @@ on:workflow_call:env:NODE_OPTIONS: --max-old-space-size=4096+permissions:+ contents: readjobs:check-types:runs-on: buildjet-4vcpu-ubuntu-2204diff --git a/.github/workflows/e2e-app-store.yml b/.github/workflows/e2e-app-store.ymlindex 2838a454f97..e0b36f40cc5 100644--- a/.github/workflows/e2e-app-store.yml+++ b/.github/workflows/e2e-app-store.yml@@ -1,6 +1,9 @@name: E2E App Store Testson:workflow_call:+permissions:+ actions: write+ contents: readenv:NODE_OPTIONS: --max-old-space-size=4096ALLOWED_HOSTNAMES: ${{ vars.CI_ALLOWED_HOSTNAMES }}diff --git a/.github/workflows/e2e-embed-react.yml b/.github/workflows/e2e-embed-react.ymlindex efd58e9f96a..4f114f5ef8d 100644--- a/.github/workflows/e2e-embed-react.yml+++ b/.github/workflows/e2e-embed-react.yml@@ -1,6 +1,9 @@name: E2E Embed React tests and booking flow (for non-embed as well)on:workflow_call:+permissions:+ actions: write+ contents: readenv:NODE_OPTIONS: --max-old-space-size=4096ALLOWED_HOSTNAMES: ${{ vars.CI_ALLOWED_HOSTNAMES }}diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.ymlindex 149f774968f..05d7015b880 100644--- a/.github/workflows/e2e-embed.yml+++ b/.github/workflows/e2e-embed.yml@@ -1,6 +1,9 @@name: E2E Embed Core tests and booking flow (for non-embed as well)on:workflow_call:+permissions:+ actions: write+ contents: readenv:NODE_OPTIONS: --max-old-space-size=4096ALLOWED_HOSTNAMES: ${{ vars.CI_ALLOWED_HOSTNAMES }}diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex b0084e82fdd..c0875274898 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -1,6 +1,9 @@name: E2Eon:workflow_call:+permissions:+ actions: write+ contents: readenv:NODE_OPTIONS: --max-old-space-size=4096ALLOWED_HOSTNAMES: ${{ vars.CI_ALLOWED_HOSTNAMES }}diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.ymlindex d2a7aefdb86..6ccff66d9f9 100644--- a/.github/workflows/integration-tests.yml+++ b/.github/workflows/integration-tests.yml@@ -1,6 +1,8 @@name: Integrationon:workflow_call:+permissions:+ contents: readenv:NODE_OPTIONS: --max-old-space-size=4096ALLOWED_HOSTNAMES: ${{ vars.CI_ALLOWED_HOSTNAMES }}diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 1244202e8f4..f867ed61105 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -1,6 +1,9 @@name: Linton:workflow_call:+permissions:+ actions: write+ contents: readjobs:lint:runs-on: buildjet-4vcpu-ubuntu-2204@@ -16,13 +19,6 @@ jobs:- name: Merge lint reportsrun: jq -s '[.[]]|flatten' lint-results/*.json &> lint-results/eslint_report.json- - name: Annotate Code Linting Results- uses: ataylorme/eslint-annotate-action@v2- with:- repo-token: ${{ secrets.GITHUB_TOKEN }}- report-json: "lint-results/eslint_report.json"- only-pr-files: false-- name: Upload ESLint reportif: ${{ always() }}uses: actions/upload-artifact@v4diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.ymlindex dc293e4501f..b92fd640f81 100644--- a/.github/workflows/nextjs-bundle-analysis.yml+++ b/.github/workflows/nextjs-bundle-analysis.yml@@ -7,6 +7,10 @@ on:branches:- main+permissions:+ actions: write+ contents: read+env:ALLOWED_HOSTNAMES: ${{ vars.CI_ALLOWED_HOSTNAMES }}CALENDSO_ENCRYPTION_KEY: ${{ secrets.CI_CALENDSO_ENCRYPTION_KEY }}diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.ymlindex 3bfb3732072..aad7d6d8629 100644--- a/.github/workflows/pr.yml+++ b/.github/workflows/pr.yml@@ -8,6 +8,10 @@ on:- gh-actions-test-branchworkflow_dispatch:+permissions:+ actions: write+ contents: read+concurrency:group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}cancel-in-progress: true@@ -39,6 +43,8 @@ jobs:needs: [changes]runs-on: buildjet-2vcpu-ubuntu-2204name: Check for E2E label+ permissions:+ pull-requests: readoutputs:run-e2e: ${{ steps.check-if-pr-has-label.outputs.run-e2e == 'true' && (github.event.action != 'labeled' || (github.event.action == 'labeled' && github.event.label.name == 'ready-for-e2e')) }}steps:diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.ymldeleted file mode 100644index 586bb47d2a8..00000000000--- a/.github/workflows/pre-release.yml+++ /dev/null@@ -1,77 +0,0 @@-name: Pre-release checks--on:- workflow_dispatch:--jobs:- changes:- name: Detect changes- runs-on: buildjet-4vcpu-ubuntu-2204- permissions:- pull-requests: read- outputs:- app-store: ${{ steps.filter.outputs.app-store }}- embed: ${{ steps.filter.outputs.embed }}- embed-react: ${{ steps.filter.outputs.embed-react }}- steps:- - uses: actions/checkout@v4- - uses: ./.github/actions/dangerous-git-checkout- - uses: dorny/paths-filter@v3- id: filter- with:- filters: |- app-store:- - 'apps/web/**'- - 'packages/app-store/**'- - 'playwright.config.ts'- embed:- - 'apps/web/**'- - 'packages/embeds/**'- - 'playwright.config.ts'- embed-react:- - 'apps/web/**'- - 'packages/embeds/**'- - 'playwright.config.ts'-- lint:- name: Linters- uses: ./.github/workflows/lint.yml- secrets: inherit-- build:- name: Production builds- uses: ./.github/workflows/production-build-without-database.yml- secrets: inherit-- e2e:- name: E2E tests- needs: [changes, lint, build]- uses: ./.github/workflows/e2e.yml- secrets: inherit-- e2e-app-store:- name: E2E App Store tests- needs: [changes, lint, build]- uses: ./.github/workflows/e2e-app-store.yml- secrets: inherit-- e2e-embed:- name: E2E embeds tests- needs: [changes, lint, build]- uses: ./.github/workflows/e2e-embed.yml- secrets: inherit-- e2e-embed-react:- name: E2E React embeds tests- needs: [changes, lint, build]- uses: ./.github/workflows/e2e-embed-react.yml- secrets: inherit-- required:- needs: [changes, lint, build, e2e, e2e-app-store, e2e-embed, e2e-embed-react]- if: always()- runs-on: buildjet-2vcpu-ubuntu-2204- steps:- - name: fail if conditional jobs failed- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')- run: exit 1diff --git a/.github/workflows/production-build-without-database.yml b/.github/workflows/production-build-without-database.ymlindex 51949d8fd3a..3790f6f3ad5 100644--- a/.github/workflows/production-build-without-database.yml+++ b/.github/workflows/production-build-without-database.yml@@ -2,6 +2,9 @@ name: Production Buildson:workflow_call:+permissions:+ contents: read+env:ALLOWED_HOSTNAMES: ${{ vars.CI_ALLOWED_HOSTNAMES }}CALENDSO_ENCRYPTION_KEY: ${{ secrets.CI_CALENDSO_ENCRYPTION_KEY }}diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.ymlindex aa2f9c2d273..a3c94d60559 100644--- a/.github/workflows/unit-tests.yml+++ b/.github/workflows/unit-tests.yml@@ -1,9 +1,8 @@name: Uniton:workflow_call:- workflow_run:- workflows: [Crowdin Action]- types: [completed]+permissions:+ contents: readjobs:test:name: Unitdiff --git a/.github/workflows/yarn-install.yml b/.github/workflows/yarn-install.ymlindex d5a8a00c3db..9e6821406bd 100644--- a/.github/workflows/yarn-install.yml+++ b/.github/workflows/yarn-install.yml@@ -3,6 +3,9 @@ name: Yarn installon:workflow_call:+permissions:+ contents: read+jobs:setup:name: Yarn install & cache