Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/joystream-cli.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: build
run: |
yarn install --frozen-lockfile
yarn madge --circular types/
yarn workspace pioneer build

pioneer_build_osx:
Expand All @@ -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:
Expand All @@ -51,6 +53,7 @@ jobs:
- name: lint
run: |
yarn install --frozen-lockfile
yarn madge --circular types/
yarn workspace pioneer lint

pioneer_lint_osx:
Expand All @@ -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