pioneer.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. name: Pioneer
  2. on: [pull_request, push]
  3. jobs:
  4. pioneer_build_ubuntu:
  5. name: Ubuntu Build
  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: build
  17. run: |
  18. yarn install --frozen-lockfile
  19. yarn workspace @joystream/types build
  20. yarn workspace pioneer build
  21. pioneer_build_osx:
  22. name: MacOS Build
  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: build
  34. run: |
  35. yarn install --frozen-lockfile --network-timeout 120000
  36. yarn workspace @joystream/types build
  37. yarn workspace pioneer build
  38. pioneer_lint_ubuntu:
  39. name: Ubuntu Linting
  40. runs-on: ubuntu-latest
  41. strategy:
  42. matrix:
  43. node-version: [14.x]
  44. steps:
  45. - uses: actions/checkout@v1
  46. - name: Use Node.js ${{ matrix.node-version }}
  47. uses: actions/setup-node@v1
  48. with:
  49. node-version: ${{ matrix.node-version }}
  50. - name: lint
  51. run: |
  52. yarn install --frozen-lockfile
  53. yarn workspace @joystream/types build
  54. yarn workspace pioneer lint --quiet
  55. pioneer_lint_osx:
  56. name: MacOS Linting
  57. runs-on: macos-latest
  58. strategy:
  59. matrix:
  60. node-version: [14.x]
  61. steps:
  62. - uses: actions/checkout@v1
  63. - name: Use Node.js ${{ matrix.node-version }}
  64. uses: actions/setup-node@v1
  65. with:
  66. node-version: ${{ matrix.node-version }}
  67. - name: lint
  68. run: |
  69. yarn install --frozen-lockfile --network-timeout 120000
  70. yarn workspace @joystream/types build
  71. yarn workspace pioneer lint --quiet