Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Dec 6, 2023
1 parent 2521356 commit 731bff3
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/cli.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,25 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Api db migrate
run: yarn api prisma-migrate dev --name init
env:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/delegator?schema=public"

- name: Delegator db migrate
run: yarn delegator prisma-migrate dev --name init
- name: Delegator build & db migrate
run: yarn delegator build && yarn delegator prisma-migrate dev --name init-delegator
env:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/orakl?schema=public"

- name: Api build & db migrate
run: yarn api build && yarn api prisma-migrate dev --name init-api
env:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/delegator?schema=public"

- name: Run delegator
run: |
yarn delegator build
yarn delegator start &
run: yarn delegator start &
env:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/delegator?schema=public"
PROVIDER_URL: "https://api.baobab.klaytn.net:8651"
APP_PORT: "3002"

- name: Run api
run: |
yarn api build
yarn api start &
run: yarn api start &
env:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/orakl?schema=public"
ENCRYPT_PASSWORD: "abc123"
Expand Down

0 comments on commit 731bff3

Please sign in to comment.