Skip to content

Commit

Permalink
update the job with frontend dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aanand-gsa committed Oct 23, 2024
1 parent 44066e3 commit 9d94681
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
Expand All @@ -26,6 +25,17 @@ jobs:
curl -sSL https://install.python-poetry.org | python3 -
echo "/root/.local/bin" >> $GITHUB_PATH
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"

- name: Install frontend dependencies and build assets
run: |
cd nad_ch/controllers/web
npm install
npm run build
- name: Create requirements.txt
shell: bash
run: poetry export --without-hashes --format=requirements.txt > requirements.txt
Expand Down

0 comments on commit 9d94681

Please sign in to comment.