From 1a606be6b14768b4045b611002f6805e3ef51d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Wed, 14 Dec 2022 19:47:02 +0100 Subject: [PATCH] fix: speedup build by turning off postgres fsync --- .github/workflows/build.yaml | 3 ++- .github/workflows/build_prs_jest_report.yaml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index da5274a7ee..37040d7442 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,10 +19,11 @@ jobs: # Label used to access the service container postgres: # Docker Hub image - image: postgres + image: 'bitnami/postgresql:latest' # Provide the password for postgres env: POSTGRES_PASSWORD: postgres + POSTGRESQL_FSYNC: 'off' # Set health checks to wait until postgres has started ports: - 5432:5432 diff --git a/.github/workflows/build_prs_jest_report.yaml b/.github/workflows/build_prs_jest_report.yaml index 1e4977fa35..21a0072175 100644 --- a/.github/workflows/build_prs_jest_report.yaml +++ b/.github/workflows/build_prs_jest_report.yaml @@ -9,15 +9,16 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [16.x] services: # Label used to access the service container postgres: # Docker Hub image - image: postgres + image: 'bitnami/postgresql:latest' # Provide the password for postgres env: POSTGRES_PASSWORD: postgres + POSTGRESQL_FSYNC: 'off' # Set health checks to wait until postgres has started ports: - 5432:5432