Skip to content

Commit 34e9e74

Browse files
Fix monorepo build (#115)
monorepo changes + shallow clone
1 parent 537f077 commit 34e9e74

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/dash-html-components/.circleci/config.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ jobs:
2929
- run:
3030
name: Install dependencies (dash)
3131
command: |
32-
git clone [email protected]:plotly/dash.git
33-
git clone [email protected]:plotly/dash-renderer.git
34-
git clone [email protected]:plotly/dash-core-components.git
35-
git clone [email protected]:plotly/dash-table.git
32+
git clone --depth 1 [email protected]:plotly/dash.git dash-main
33+
git clone --depth 1 [email protected]:plotly/dash-core-components.git
34+
git clone --depth 1 [email protected]:plotly/dash-table.git
3635
. venv/bin/activate
37-
pip install -e ./dash --quiet
36+
pip install -e ./dash-main --quiet
3837
cd dash-core-components && npm install --ignore-scripts && npm run build && pip install -e . && cd ..
39-
cd dash-renderer && npm install --ignore-scripts && npm run build && pip install -e . && cd ..
38+
cd dash-main/dash-renderer && npm install --ignore-scripts && npm run build && pip install -e . && cd ../..
4039
cd dash-table && npm install --ignore-scripts && npm run build && pip install -e . && cd ..
4140
4241
- run:

0 commit comments

Comments
 (0)