Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- ~/.cache/yarn
- run:
name: Build all packages with lerna
command: 'yarn build --since master'
command: 'yarn build --skip-nx-cache'
- persist_to_workspace:
root: *working_directory
paths:
Expand Down Expand Up @@ -108,7 +108,6 @@ jobs:
name: 'Test unit'
command: |
yarn test \
--since master \
--ignore @requestnetwork/request-client.js \
--ignore @requestnetwork/smart-contracts \
--ignore @requestnetwork/payment-detection \
Expand Down Expand Up @@ -157,6 +156,9 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- run:
name: 'Build smart-contracts'
command: 'yarn build --scope @requestnetwork/smart-contracts'
- run:
name: 'Deploy test contract from smart-contracts'
command: 'yarn deploy:contracts'
Expand All @@ -165,7 +167,6 @@ jobs:
name: 'Test request-client.js, smart-contracts, payment-detection and payment-processor'
command: |
yarn test \
--since master \
--scope @requestnetwork/request-client.js \
--scope @requestnetwork/smart-contracts \
--scope @requestnetwork/payment-detection \
Expand All @@ -190,6 +191,9 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- run:
name: 'Build smart-contracts'
command: 'yarn build --scope @requestnetwork/smart-contracts'
- run:
name: 'Deploy test contract from smart-contracts'
command: 'yarn deploy:contracts'
Expand All @@ -203,7 +207,6 @@ jobs:
name: 'Test integration-test'
command: |
yarn test \
--since master \
--scope @requestnetwork/integration-test
- store_test_results:
path: packages/integration-test/reports/
Expand Down Expand Up @@ -274,6 +277,9 @@ jobs:
- run:
name: 'Authenticate with registry'
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run:
name: 'Build all packages with lerna'
command: 'yarn build --skip-nx-cache'
- run:
name: 'Publish'
command: |
Expand Down