message: feat: adding postgres into typeorm workflow
diff: @@ -7,6 +7,18 @@ on:
  jobs:
  test:
  + services:
  + postgres:
  + image: postgres
  + env:
  + POSTGRES_USER: 'rm'
  + POSTGRES_PASSWORD: 'root'
  + POSTGRES_DB: 'cat_test_db'
  + options: >-
  + --health-cmd pg_isready
  + --health-interval 10s
  + --health-timeout 5s
  + --health-retries 5
  runs-on: ubuntu-latest
  @@ -20,6 +32,10 @@ jobs:
  uses: actions/setup-node@v1
  with:
  node-version: ${{ matrix.node-version }}
  + - name: Connect to PostgreSQL
  + env:
  + POSTGRES_HOST: postgres
  + POSTGRES_PORT: 5432
  - name: npm install
  run: npm ci
  - name: Run docker-compose to setup PostgreSQL
  