network-tests.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. name: network-tests
  2. on: [pull_request, push]
  3. jobs:
  4. network_build_ubuntu:
  5. name: Ubuntu Checks
  6. runs-on: ubuntu-latest
  7. strategy:
  8. matrix:
  9. node-version: [14.x]
  10. steps:
  11. - uses: actions/checkout@v1
  12. - name: Use Node.js ${{ matrix.node-version }}
  13. uses: actions/setup-node@v1
  14. with:
  15. node-version: ${{ matrix.node-version }}
  16. - name: checks
  17. run: |
  18. yarn install --frozen-lockfile
  19. yarn workspace @joystream/types build
  20. yarn workspace @joystream/content-metadata-protobuf build:ts
  21. yarn workspace network-tests checks --quiet
  22. network_build_osx:
  23. name: MacOS Checks
  24. runs-on: macos-latest
  25. strategy:
  26. matrix:
  27. node-version: [14.x]
  28. steps:
  29. - uses: actions/checkout@v1
  30. - name: Use Node.js ${{ matrix.node-version }}
  31. uses: actions/setup-node@v1
  32. with:
  33. node-version: ${{ matrix.node-version }}
  34. - name: checks
  35. run: |
  36. yarn install --frozen-lockfile --network-timeout 120000
  37. yarn workspace @joystream/types build
  38. yarn workspace @joystream/content-metadata-protobuf build:ts
  39. yarn workspace network-tests checks --quiet