network-tests.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 network-tests checks --quiet
  21. network_build_osx:
  22. name: MacOS Checks
  23. runs-on: macos-latest
  24. strategy:
  25. matrix:
  26. node-version: [14.x]
  27. steps:
  28. - uses: actions/checkout@v1
  29. - name: Use Node.js ${{ matrix.node-version }}
  30. uses: actions/setup-node@v1
  31. with:
  32. node-version: ${{ matrix.node-version }}
  33. - name: checks
  34. run: |
  35. yarn install --frozen-lockfile --network-timeout 120000
  36. yarn workspace @joystream/types build
  37. yarn workspace network-tests checks --quiet