Skip to content

Commit

Permalink
Update server CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMalfait committed Nov 13, 2024
1 parent 828d4c3 commit 4af3211
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ jobs:
if: steps.changed-files.outputs.any_changed == 'true'
run: npx nx reset:env twenty-server
- name: Server / Create DB
run: PGPASSWORD=twenty psql -h localhost -p 5432 -U twenty -d postgres -c "SELECT 'CREATE DATABASE test' WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'test')"
if: steps.changed-files.outputs.any_changed == 'true'
run: PGPASSWORD=twenty psql -h postgres -p 5432 -U twenty -d postgres -c "SELECT 'CREATE DATABASE test' WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'test')"
- name: Worker / Run
if: steps.changed-files.outputs.any_changed == 'true'
run: npx nx run twenty-server:worker:ci
Expand Down

0 comments on commit 4af3211

Please sign in to comment.