Skip to content

Commit

Permalink
fix(ci): fix sanity check and run for PRs (#38)
Browse files Browse the repository at this point in the history
Build accounts service before running connector tests.
  • Loading branch information
wilsonianb committed Jul 2, 2021
1 parent 3209bd1 commit 2035c47
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize

name: Sanity check

Expand Down Expand Up @@ -40,5 +44,5 @@ jobs:
- run: yarn lint
- run: docker-compose -f packages/accounts/docker-compose.yml up -d
- run: docker-compose -f packages/connector/docker-compose.yml up -d
- run: yarn test
- run: yarn build
- run: yarn test
3 changes: 3 additions & 0 deletions packages/connector/README.md
Expand Up @@ -8,6 +8,9 @@ From the monorepo root directory:
# Run database
docker-compose -f packages/connector/docker-compose.yml up -d

# Build accounts service
yarn workspace accounts build

# Run tests
yarn workspace connector test

Expand Down

0 comments on commit 2035c47

Please sign in to comment.