Skip to content

Commit

Permalink
update workflow.yaml to include npm build
Browse files Browse the repository at this point in the history
  • Loading branch information
tahouse authored Nov 21, 2024
1 parent a997bef commit 2f7eb54
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: streamlit_chat_prompt/frontend/package-lock.json
- name: Install Node dependencies
working-directory: streamlit_chat_prompt/frontend
run: |
npm install
- name: Build frontend
working-directory: streamlit_chat_prompt/frontend
run: |
npm run build
- name: Install pypa/build
run: >-
python3 -m
Expand Down

0 comments on commit 2f7eb54

Please sign in to comment.