joystream-cli.yml 1022 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: joystream-cli
  2. on: [pull_request, push]
  3. jobs:
  4. cli_build_ubuntu:
  5. name: Ubuntu Build
  6. runs-on: ubuntu-latest
  7. strategy:
  8. matrix:
  9. node-version: [12.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: build
  17. run: |
  18. yarn install --frozen-lockfile
  19. yarn workspace @joystream/types build
  20. yarn workspace joystream-cli build
  21. cli_build_osx:
  22. name: MacOS Build
  23. runs-on: macos-latest
  24. strategy:
  25. matrix:
  26. node-version: [12.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: build
  34. run: |
  35. yarn install --frozen-lockfile --network-timeout 120000
  36. yarn workspace @joystream/types build
  37. yarn workspace joystream-cli build