Add cli build checks, and circular dep check for types lib#752
Add cli build checks, and circular dep check for types lib#752mnaamani merged 4 commits intoJoystream:nicaeafrom
Conversation
|
As discussed in the chat: it would probably be a good idea to include MacOS builds too (like it's already done for Pioneer), since with different filesystem etc. there may be some issues that will be undetected on Ubuntu. |
Agreed. Added in 79a87d8 I also increased the TCP network timeout for OSX jobs to try to resolve the frequent issue with installing packages due to unstable network connections on the mac instances. 2067c50 |
|
I noticed that since building The CLI build check seems to work fine, I was even able to produce an error that causes the build to fail only on Mac ( Lezek123#8) Didn't run into any issues regarding network connection during Mac builds, so hopefully it's now fixed. |
|
Great feedback. |
There was a problem hiding this comment.
Looks good.
The circular dependencies are correctly spotted etc.
It doesn't seem necessary to do the circular dependency check in each job, but since @joystream/types are beeing built in each job too, it seems kind of logical (and this way we also avoid having too many serparate checks).
|
After working on #785 I identified a useful check we can add for the types library which I can do in a future PR. Basically to ensure that the module can be published to npm and installed successfully buy using npm pack to test it locally. |
Adding CI checks for types and cli packages