Skip to content

Commit 90a6baa

Browse files
committed
Make sure the JS code is built
1 parent bd0f0ea commit 90a6baa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/test_streamlit_folium.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@ jobs:
2929
ref: master
3030
path: streamlit_folium # Checkout into a subdirectory
3131

32-
- name: Install streamlit_folium
32+
- name: Build streamlit_folium frontend
3333
run: |
3434
cd streamlit_folium
3535
pip install -e .
3636
37+
- name: Install streamlit_folium
38+
run: |
39+
cd streamlit_folium/streamlit_folium/frontend/
40+
npm install
41+
npm run build
42+
3743
- name: Install streamlit_folium dev dependencies
3844
run: |
3945
pip install -r streamlit_folium/tests/requirements.txt

0 commit comments

Comments
 (0)