The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Add CI timeouts and enable playwright (#8405)
Félix Malfaitd8831512d424
diff --git a/.github/workflows/cd-deploy-main.yaml b/.github/workflows/cd-deploy-main.yamlindex 9b6217c5ab3..dc9a031cc3a 100644--- a/.github/workflows/cd-deploy-main.yaml+++ b/.github/workflows/cd-deploy-main.yaml@@ -1,4 +1,5 @@name: CD deploy main+timeout-minutes: 3on:push:branches:diff --git a/.github/workflows/cd-deploy-tag.yaml b/.github/workflows/cd-deploy-tag.yamlindex 17bee3d1a34..86c8834a3a0 100644--- a/.github/workflows/cd-deploy-tag.yaml+++ b/.github/workflows/cd-deploy-tag.yaml@@ -1,4 +1,5 @@name: CD deploy tag+timeout-minutes: 3on:push:tags:diff --git a/.github/workflows/ci-chrome-extension.yaml b/.github/workflows/ci-chrome-extension.yamlindex 6f99f922a94..5becb944e1b 100644--- a/.github/workflows/ci-chrome-extension.yaml+++ b/.github/workflows/ci-chrome-extension.yaml@@ -1,4 +1,5 @@name: CI Chrome Extension+timeout-minutes: 15on:push:branches:diff --git a/.github/workflows/playwright.yml.bak b/.github/workflows/ci-e2e.yml.baksimilarity index 59%rename from .github/workflows/playwright.yml.bakrename to .github/workflows/ci-e2e.yml.bakindex fc45955bc7a..87487225599 100644--- a/.github/workflows/playwright.yml.bak+++ b/.github/workflows/ci-e2e.yml.bak@@ -1,34 +1,43 @@-name: Playwright Tests+name: CI E2E Tests+timeout-minutes: 30on:push:- branches: [ main, master ]+ branches:+ - mainpull_request:- branches: [ main, master ]+ branches:+ - '**'++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true+jobs:test:- timeout-minutes: 60runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4+ with:+ fetch-depth: 0- uses: actions/setup-node@v4with:node-version: lts/*- name: Check for changed files- id: changed-files- uses: tj-actions/changed-files@v11- with:- files: |- packages/** # Adjust this to your relevant directories- playwright.config.ts # Include any relevant config files+ id: changed-files+ uses: tj-actions/changed-files@v11+ with:+ files: |+ packages/**+ playwright.config.ts- name: Skip if no relevant changes- if: steps.changed-files.outputs.any_changed != 'true'- run: echo "No relevant changes detected. Marking as valid."+ if: steps.changed-files.outputs.any_changed == 'false'+ run: echo "No relevant changes detected. Marking as valid."- name: Install dependenciesif: steps.changed-files.outputs.any_changed == 'true'- run: npm install -g yarn && yarn+ uses: ./.github/workflows/actions/yarn-install- name: Install Playwright Browsersif: steps.changed-files.outputs.any_changed == 'true'run: yarn playwright install --with-depsdiff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yamlindex 1aed46afe40..d683c254f30 100644--- a/.github/workflows/ci-front.yaml+++ b/.github/workflows/ci-front.yaml@@ -1,4 +1,5 @@name: CI Front+timeout-minutes: 30on:push:branches:@@ -59,7 +60,6 @@ jobs:run: npx nx storybook:build twenty-frontfront-sb-test:runs-on: shipfox-8vcpu-ubuntu-2204- timeout-minutes: 60needs: front-sb-buildstrategy:matrix:@@ -102,7 +102,6 @@ jobs:run: npx nx storybook:serve-and-test:static twenty-front --configuration=${{ matrix.storybook_scope }}front-sb-test-performance:runs-on: shipfox-8vcpu-ubuntu-2204- timeout-minutes: 60env:REACT_APP_SERVER_BASE_URL: http://localhost:3000NX_REJECT_UNKNOWN_LOCAL_CACHE: 0diff --git a/.github/workflows/ci-release-create.yaml b/.github/workflows/ci-release-create.yamlindex 068d054cb30..e11a3d177cc 100644--- a/.github/workflows/ci-release-create.yaml+++ b/.github/workflows/ci-release-create.yaml@@ -1,4 +1,5 @@name: "Release: create"+timeout-minutes: 10on:workflow_dispatch:inputs:diff --git a/.github/workflows/ci-release-merge.yaml b/.github/workflows/ci-release-merge.yamlindex 96b71931867..14458946c2a 100644--- a/.github/workflows/ci-release-merge.yaml+++ b/.github/workflows/ci-release-merge.yaml@@ -1,4 +1,5 @@name: "Release: on merge"+timeout-minutes: 10on:pull_request:types:diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yamlindex b4fb89e4d90..bce6d14bcbe 100644--- a/.github/workflows/ci-server.yaml+++ b/.github/workflows/ci-server.yaml@@ -1,4 +1,5 @@name: CI Server+timeout-minutes: 30on:push:branches:diff --git a/.github/workflows/ci-test-docker-compose.yaml b/.github/workflows/ci-test-docker-compose.yamlindex 50277ab7aa3..ad3f37e5516 100644--- a/.github/workflows/ci-test-docker-compose.yaml+++ b/.github/workflows/ci-test-docker-compose.yaml@@ -1,4 +1,5 @@name: 'Test Docker Compose'+timeout-minutes: 10on:pull_request:diff --git a/.github/workflows/ci-tinybird.yaml b/.github/workflows/ci-tinybird.yamlindex 8a83f3e8177..8233e8a40ab 100644--- a/.github/workflows/ci-tinybird.yaml+++ b/.github/workflows/ci-tinybird.yaml@@ -1,4 +1,5 @@name: CI Tinybird+timeout-minutes: 10on:push:branches:diff --git a/.github/workflows/ci-utils.yaml b/.github/workflows/ci-utils.yamlindex fccfca98d8a..93e5ddac20a 100644--- a/.github/workflows/ci-utils.yaml+++ b/.github/workflows/ci-utils.yaml@@ -1,4 +1,5 @@name: CI Utils+timeout-minutes: 3on:# it's usually not recommended to use pull_request_target# but we consider it's safe here if we keep the same stepsdiff --git a/.github/workflows/ci-website.yaml b/.github/workflows/ci-website.yamlindex 1b015c2a34e..e38d1fd9325 100644--- a/.github/workflows/ci-website.yaml+++ b/.github/workflows/ci-website.yaml@@ -1,4 +1,5 @@name: CI Website+timeout-minutes: 10on:push:branches: