joystream-cli.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. name: joystream-cli
  2. on: [pull_request, push]
  3. jobs:
  4. cli_build_ubuntu:
  5. name: Ubuntu Checks
  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: checks
  17. run: |
  18. yarn install --frozen-lockfile
  19. yarn workspace @joystream/cli checks
  20. - name: yarn pack test
  21. run: |
  22. yarn workspace @joystream/cli pack --filename cli-pack-test.tgz
  23. tar zxvf ./cli/cli-pack-test.tgz -C cli
  24. cd ./cli/package && yarn link
  25. cli_build_osx:
  26. name: MacOS Checks
  27. runs-on: macos-latest
  28. strategy:
  29. matrix:
  30. node-version: [12.x]
  31. steps:
  32. - uses: actions/checkout@v1
  33. - name: Use Node.js ${{ matrix.node-version }}
  34. uses: actions/setup-node@v1
  35. with:
  36. node-version: ${{ matrix.node-version }}
  37. - name: checks
  38. run: |
  39. yarn install --frozen-lockfile --network-timeout 120000
  40. yarn workspace @joystream/cli checks
  41. - name: yarn pack test
  42. run: |
  43. yarn workspace @joystream/cli pack --filename cli-pack-test.tgz
  44. tar zxvf ./cli/cli-pack-test.tgz -C cli
  45. cd ./cli/package && yarn link