Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Install dependencies after starting containers
Browse files Browse the repository at this point in the history
This allowed the Postgres DB enough time to be up and running.
  • Loading branch information
textbook committed Jan 3, 2024
1 parent c4e7778 commit 601958e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ jobs:
DATABASE_URL: postgres://postgres:@localhost:4211/postgres
runs-on: ubuntu-22.04
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Start dev service containers
run: docker compose up --detach
- name: Set up Node.js environment
uses: textbook/take-action@nodejs
with:
checkout: "false"
node-version-file: ".nvmrc"
- name: Start dev service containers
run: docker compose up --detach
- name: Apply database migrations
run: npm run migration -- up
- name: Check code style
Expand Down

0 comments on commit 601958e

Please sign in to comment.