diff --git a/.github/workflows/joystream-cli.yml b/.github/workflows/joystream-cli.yml new file mode 100644 index 0000000000..d24898770e --- /dev/null +++ b/.github/workflows/joystream-cli.yml @@ -0,0 +1,39 @@ +name: joystream-cli +on: [pull_request, push] + +jobs: + cli_build_ubuntu: + name: Ubuntu Build + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [12.x] + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: build + run: | + yarn install --frozen-lockfile + yarn madge --circular types/ + yarn workspace joystream-cli build + + cli_build_osx: + name: MacOS Build + runs-on: macos-latest + strategy: + matrix: + node-version: [12.x] + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: build + run: | + yarn install --frozen-lockfile --network-timeout 120000 + yarn madge --circular types/ + yarn workspace joystream-cli build \ No newline at end of file diff --git a/.github/workflows/pioneer-pr.yml b/.github/workflows/pioneer.yml similarity index 85% rename from .github/workflows/pioneer-pr.yml rename to .github/workflows/pioneer.yml index 60c4d9e842..e2272c86d4 100644 --- a/.github/workflows/pioneer-pr.yml +++ b/.github/workflows/pioneer.yml @@ -17,6 +17,7 @@ jobs: - name: build run: | yarn install --frozen-lockfile + yarn madge --circular types/ yarn workspace pioneer build pioneer_build_osx: @@ -33,7 +34,8 @@ jobs: node-version: ${{ matrix.node-version }} - name: build run: | - yarn install --frozen-lockfile + yarn install --frozen-lockfile --network-timeout 120000 + yarn madge --circular types/ yarn workspace pioneer build pioneer_lint_ubuntu: @@ -51,6 +53,7 @@ jobs: - name: lint run: | yarn install --frozen-lockfile + yarn madge --circular types/ yarn workspace pioneer lint pioneer_lint_osx: @@ -67,5 +70,6 @@ jobs: node-version: ${{ matrix.node-version }} - name: lint run: | - yarn install --frozen-lockfile + yarn install --frozen-lockfile --network-timeout 120000 + yarn madge --circular types/ yarn workspace pioneer lint