Prep for react app

This commit is contained in:
David Bomba 2022-05-27 10:11:39 +10:00
parent e071c3aae7
commit 418c7c256f

View File

@ -39,6 +39,17 @@ jobs:
sudo find ./vendor/bin/ -type f -exec chmod +x {} \;
sudo find ./ -type d -exec chmod 755 {} \;
- name: Prepare React FrontEnd
run: |
git clone https://${{secrets.commit_secret}}@github.com/invoiceninja/ui.git
cd ui
git checkout main
npm i
npm run build
cp -r dist/react/* ../public/react
cd ..
rm -rf ui
- name: Prepare JS/CSS assets
run: |
npm i