Skip to content

Commit

Permalink
chore(accounts): add prepare script to build
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonianb committed Jul 1, 2021
1 parent 8c68bbf commit 9991ec5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/lint_test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ jobs:
- run: yarn workspace connector lint
- run: yarn workspace connector format:check
- run: yarn install --immutable --immutable-cache
- run: yarn build
- run: yarn workspace connector test

frontend:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,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 build
- run: yarn test
- run: yarn build
1 change: 1 addition & 0 deletions packages/accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"lint": "yarn lint:local",
"format": "yarn format:local",
"format:check": "yarn format:check:local",
"prepare": "yarn build",
"start": "node dist/index.js",
"test": "yarn test:local"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ From the monorepo root directory:
docker-compose -f packages/connector/docker-compose.yml up -d

# Build accounts service
yarn workspace accounts build
yarn install --immutable --immutable-cache

# Run tests
yarn workspace connector test
Expand Down

0 comments on commit 9991ec5

Please sign in to comment.