From 09eab3db7283e0a03b7c12da4f7997077328e59c Mon Sep 17 00:00:00 2001 From: Bart Date: Tue, 22 Nov 2022 16:26:11 +0100 Subject: [PATCH] fix: prisma not starting --- .github/workflows/deploy_dev.yml | 2 +- .github/workflows/deploy_prd.yml | 2 +- .github/workflows/validate.yml | 2 +- libs/database/src/lib/postgres/database.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_dev.yml b/.github/workflows/deploy_dev.yml index 9e5a383..1269cb4 100644 --- a/.github/workflows/deploy_dev.yml +++ b/.github/workflows/deploy_dev.yml @@ -15,7 +15,7 @@ jobs: with: node-version: 18 cache: "yarn" - - run: yarn --prefer-offline + - run: yarn - run: yarn nx build blueprints env: CF_WEB_ANALYTICS: 6c563c1e5db141129a5fc95d5c459722 diff --git a/.github/workflows/deploy_prd.yml b/.github/workflows/deploy_prd.yml index 12b6e58..24bce9a 100644 --- a/.github/workflows/deploy_prd.yml +++ b/.github/workflows/deploy_prd.yml @@ -15,7 +15,7 @@ jobs: with: node-version: 18 cache: "yarn" - - run: yarn --prefer-offline + - run: yarn - run: yarn nx build blueprints env: PUBLIC_URL: https://factorio-blueprints-assets.storage.googleapis.com/public diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index c857a47..e86c649 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -11,7 +11,7 @@ jobs: with: node-version: 18 cache: "yarn" - - run: yarn --prefer-offline + - run: yarn - run: yarn nx run-many --all --target=lint - run: yarn nx run-many --all --target=test "--ci" - run: yarn nx build blueprints diff --git a/libs/database/src/lib/postgres/database.ts b/libs/database/src/lib/postgres/database.ts index 11fafc8..25e705a 100644 --- a/libs/database/src/lib/postgres/database.ts +++ b/libs/database/src/lib/postgres/database.ts @@ -46,5 +46,5 @@ const promise = _init() export const init = async () => { await promise; - // await prisma.$connect(); + await prisma.$connect(); };