diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef67001aca93..f103c1f3c76a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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