Skip to content

Commit 677e4c1

Browse files
committed
issue with windows build lerna
1 parent 49eccdf commit 677e4c1

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/testing.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,43 @@ jobs:
9191
path: packages/ # Upload the contents of the dist directory
9292
retention-days: 1 # Keep artifact for 1 day (adjust as needed)
9393

94+
build-windows:
95+
name: Build Dash Package - Windows
96+
runs-on: windows-latest
97+
timeout-minutes: 30
98+
outputs:
99+
artifact_name: dash-packages
100+
steps:
101+
- name: Checkout repository
102+
uses: actions/checkout@v4
103+
with:
104+
fetch-depth: 0
105+
106+
- name: Set up Node.js for frontend build
107+
uses: actions/setup-node@v4
108+
with:
109+
node-version: '20'
110+
cache: npm
111+
112+
- name: Install NPM dependencies
113+
run: npm ci
114+
115+
- name: Set up Python for build
116+
uses: actions/setup-python@v5
117+
with:
118+
python-version: '3.12'
119+
cache: pip
120+
121+
- name: Install build dependencies
122+
run: |
123+
python -m pip install --upgrade pip
124+
python -m pip install "setuptools<80.0.0"
125+
python -m pip install build wheel
126+
python -m pip install -e .[dev,ci]
127+
128+
- name: Build Dash
129+
run: npm run first-build
130+
94131
test-typing:
95132
name: Typing Tests
96133
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)