From 37cdb17f59c71330bfcb8fcdaad0150a094bf1a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Sun, 20 Mar 2022 00:13:57 -0300 Subject: [PATCH] feat: release v1.0.0 --- .github/workflows/ci.yml | 12 ++++++++++++ config/database.ts | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f431793..e77b61b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,18 @@ jobs: runs-on: ubuntu-18.04 + services: + postgres: + image: postgres + env: + POSTGRES_DATABASE: postgres + POSTGRES_USER: postgres + POSTGRES_PASSWORD: root + POSTGRES_ROOT_PASSWORD: root + ports: + - '5433:5432' + options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 10 + steps: - name: Checkout uses: actions/checkout@v2 diff --git a/config/database.ts b/config/database.ts index 66797af..f015e1d 100644 --- a/config/database.ts +++ b/config/database.ts @@ -55,7 +55,7 @@ export default { url: Env('DB_URL', ''), host: Env('DB_HOST', '127.0.0.1'), port: Env({ type: 'number', name: 'DB_PORT' }, 5433), - database: Env('DB_DATABASE', 'secjs-orm-testing'), + database: Env('DB_DATABASE', 'postgres'), user: Env('DB_USERNAME', 'postgres'), password: Env('DB_PASSWORD', 'root'), },