storage-node.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. name: storage-node
  2. on: [pull_request, push]
  3. jobs:
  4. storage_node_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/metadata-protobuf build
  21. yarn workspace storage-node lint --quiet
  22. yarn workspace storage-node build
  23. storage_node_build_osx:
  24. name: MacOS Checks
  25. runs-on: macos-latest
  26. strategy:
  27. matrix:
  28. node-version: [14.x]
  29. steps:
  30. - uses: actions/checkout@v1
  31. - name: Use Node.js ${{ matrix.node-version }}
  32. uses: actions/setup-node@v1
  33. with:
  34. node-version: ${{ matrix.node-version }}
  35. - name: checks
  36. run: |
  37. yarn install --frozen-lockfile --network-timeout 120000
  38. yarn workspace @joystream/types build
  39. yarn workspace @joystream/metadata-protobuf build
  40. yarn workspace storage-node lint --quiet
  41. yarn workspace storage-node build