Skip to content

Commit

Permalink
chore: adjust ci wf
Browse files Browse the repository at this point in the history
This commit includes:

- Adding of env vars to ci workflow
- Adding of database service in ci workflow's job
  • Loading branch information
Leonardo Giraldi Moreno Giuranno committed May 24, 2024
1 parent 0ef5c5f commit 7cd0b51
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@ jobs:
build:
runs-on: ubuntu-latest

env:
DATABASE_TYPE: postgres
DATABASE_HOST: 127.0.0.1
DATABASE_PORT: 5432
DATABASE_USERNAME: root
DATABASE_PASSWORD: root
DATABASE_NAME: tasks-manager

services:
postgres:
image: postgres
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: tasks-manager
ports:
- "5432:5432"

strategy:
matrix:
node-version: [18.x]
Expand Down

0 comments on commit 7cd0b51

Please sign in to comment.