Skip to content

Commit

Permalink
Build only the clients in workflows in case the rest project are not …
Browse files Browse the repository at this point in the history
…needed
  • Loading branch information
AhmedHanafy725 committed Apr 18, 2023
1 parent 5a29d8c commit 13e07ad
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/grid_client_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Install
run: |
yarn
lerna run build
lerna run build --no-private
- name: Run test dynamic single vm
id: dynamicsinglevm
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/grid_client_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Install
run: |
yarn
lerna run build
lerna run build --no-private
- name: Run tests
run: yarn workspace @threefold/grid_client test --runInBand --ci --coverage --colors
- name: Cleanup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install
run: yarn
- name: Build
run: lerna run build
run: lerna run build --no-private
- name: Publish
run: |
yarn workspace @threefold/rmb_direct_client publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/weblets_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ jobs:
- name: Build
run: |
lerna run build
lerna run build --no-private
cd packages/weblets
yarn build:app
2 changes: 1 addition & 1 deletion .github/workflows/weblets_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Build in case development
run: |
lerna run build
lerna run build --no-private
cd packages/weblets
VERSION=$GITHUB_SHA
VERSION=${VERSION:0:7} NETWORK=dev yarn build:app
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/weblets_cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Yarn deps
run: |
yarn
lerna run build
lerna run build --no-private
cd packages/weblets
yarn deps
- name: Generate SSH Key
Expand Down
2 changes: 1 addition & 1 deletion docs/workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ On **Pull Request**, and **Push** to development branch: It will do a clean inst

### [Publish](/.github/workflows/publish.yml)

On **Release**: It will do a clean install of node dependencies, cache/restore them to make the process faster, and build the source code using `lerna run build` then publish the latest version to npm. Also it build a docker image for grid client from the released version.
On **Release**: It will do a clean install of node dependencies, cache/restore them to make the process faster, and build the source code using `lerna run build --no-private` then publish the latest version to npm. Also it build a docker image for grid client from the released version.

### [Lint](/.github/workflows/lint.yml)

Expand Down

0 comments on commit 13e07ad

Please sign in to comment.