7878 - ~/.cache/yarn
7979 - run :
8080 name : Build all packages with lerna
81- command : ' yarn build --skip-nx-cache '
81+ command : ' yarn build --since master '
8282 - persist_to_workspace :
8383 root : *working_directory
8484 paths :
@@ -108,6 +108,7 @@ jobs:
108108 name : ' Test unit'
109109 command : |
110110 yarn test \
111+ --since master \
111112 --ignore @requestnetwork/request-client.js \
112113 --ignore @requestnetwork/smart-contracts \
113114 --ignore @requestnetwork/payment-detection \
@@ -156,6 +157,9 @@ jobs:
156157 steps :
157158 - attach_workspace :
158159 at : *working_directory
160+ - run :
161+ name : ' Build smart-contracts'
162+ command : ' yarn build --scope @requestnetwork/smart-contracts'
159163 - run :
160164 name : ' Deploy test contract from smart-contracts'
161165 command : ' yarn deploy:contracts'
@@ -164,6 +168,7 @@ jobs:
164168 name : ' Test request-client.js, smart-contracts, payment-detection and payment-processor'
165169 command : |
166170 yarn test \
171+ --since master \
167172 --scope @requestnetwork/request-client.js \
168173 --scope @requestnetwork/smart-contracts \
169174 --scope @requestnetwork/payment-detection \
@@ -188,6 +193,9 @@ jobs:
188193 steps :
189194 - attach_workspace :
190195 at : *working_directory
196+ - run :
197+ name : ' Build smart-contracts'
198+ command : ' yarn build --scope @requestnetwork/smart-contracts'
191199 - run :
192200 name : ' Deploy test contract from smart-contracts'
193201 command : ' yarn deploy:contracts'
@@ -201,6 +209,7 @@ jobs:
201209 name : ' Test integration-test'
202210 command : |
203211 yarn test \
212+ --since master \
204213 --scope @requestnetwork/integration-test
205214 - store_test_results :
206215 path : packages/integration-test/reports/
@@ -271,6 +280,9 @@ jobs:
271280 - run :
272281 name : ' Authenticate with registry'
273282 command : echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
283+ - run :
284+ name : ' Build all packages with lerna'
285+ command : ' yarn build --skip-nx-cache'
274286 - run :
275287 name : ' Publish'
276288 command : |
0 commit comments