The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
[CI] Migrate to ubuntu 24.04 runners (#9607)
Paul Rastoind133d7f10e02
diff --git a/.github/workflows/actions/restore-cache/action.yml b/.github/workflows/actions/restore-cache/action.ymlindex a73383125a3..c970556032b 100644--- a/.github/workflows/actions/restore-cache/action.yml+++ b/.github/workflows/actions/restore-cache/action.yml@@ -16,12 +16,17 @@ outputs:runs:using: compositesteps:+ - name: Cache primary key builder+ id: cache-primary-key-builder+ shell: bash+ run: |+ echo "CACHE_PRIMARY_KEY_PREFIX=${{ inputs.key }}-${{ github.ref_name }}" >> "${GITHUB_OUTPUT}"- name: Restore cacheuses: actions/cache/restore@v4id: restore-cachewith:- key: ${{ inputs.key }}-${{ github.ref_name }}-${{ github.sha }}- restore-keys: ${{ inputs.key }}-${{ github.ref_name }}-+ key: ${{ steps.cache-primary-key-builder.outputs.CACHE_PRIMARY_KEY_PREFIX }}-${{ github.sha }}+ restore-keys: ${{ steps.cache-primary-key-builder.outputs.CACHE_PRIMARY_KEY_PREFIX }}-path: |.cache.nx/cachediff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yamlindex 75627be74e1..da9fa86b1ba 100644--- a/.github/workflows/ci-front.yaml+++ b/.github/workflows/ci-front.yaml@@ -11,12 +11,12 @@ concurrency:cancel-in-progress: trueenv:- STORYBOOK_BUILD_CACHE_KEY: storybook-build-depot-ubuntu-22.04-8-runner+ STORYBOOK_BUILD_CACHE_KEY: storybook-build-depot-ubuntu-24.04-8-runnerjobs:front-sb-build:timeout-minutes: 30- runs-on: depot-ubuntu-22.04-8+ runs-on: depot-ubuntu-24.04-8env:REACT_APP_SERVER_BASE_URL: http://localhost:3000NX_REJECT_UNKNOWN_LOCAL_CACHE: 0@@ -67,7 +67,7 @@ jobs:key: ${{ steps.restore-storybook-build-cache.outputs.cache-primary-key }}front-sb-test:timeout-minutes: 30- runs-on: depot-ubuntu-22.04-8+ runs-on: depot-ubuntu-24.04-8needs: front-sb-buildstrategy:fail-fast: false@@ -122,7 +122,7 @@ jobs:path: packages/twenty-front/coverage/storybook/coverage-shard-${{matrix.shard}}.jsonmerge-reports-and-check-coverage:timeout-minutes: 30- runs-on: depot-ubuntu-22.04-8+ runs-on: depot-ubuntu-24.04-8needs: front-sb-testenv:PATH_TO_COVERAGE: packages/twenty-front/coverage/storybook@@ -163,7 +163,7 @@ jobs:timeout-minutes: 30if: contains(github.event.pull_request.labels.*.name, 'run-chromatic') || github.event_name == 'push'needs: front-sb-build- runs-on: depot-ubuntu-22.04-8+ runs-on: depot-ubuntu-24.04-8env:REACT_APP_SERVER_BASE_URL: http://127.0.0.1:3000CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}@@ -203,7 +203,7 @@ jobs:run: npx nx run twenty-front:chromatic:cifront-task:timeout-minutes: 30- runs-on: depot-ubuntu-22.04-8+ runs-on: depot-ubuntu-24.04-8env:NX_REJECT_UNKNOWN_LOCAL_CACHE: 0TASK_CACHE_KEY: front-task-${{ matrix.task }}diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yamlindex f278d759765..9e308adc037 100644--- a/.github/workflows/ci-server.yaml+++ b/.github/workflows/ci-server.yaml@@ -16,7 +16,7 @@ env:jobs:server-setup:timeout-minutes: 30- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04-8env:NX_REJECT_UNKNOWN_LOCAL_CACHE: 0services:@@ -115,7 +115,7 @@ jobs:server-test:timeout-minutes: 30- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04-8needs: server-setupenv:NX_REJECT_UNKNOWN_LOCAL_CACHE: 0@@ -152,7 +152,7 @@ jobs:server-integration-test:timeout-minutes: 30- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04-8needs: server-setupservices:postgres: