This commit is contained in:
AAGaming
2022-10-14 23:22:01 -04:00
parent fd59456f8b
commit 9233ee58c6
+5 -10
View File
@@ -47,9 +47,6 @@ jobs:
with: with:
node-version: 18 node-version: 18
- name: Set up PNPM 💎
uses: pnpm/action-setup@v2.2.3
- name: Set up Python 3.10 🐍 - name: Set up Python 3.10 🐍
uses: actions/setup-python@v3 uses: actions/setup-python@v3
with: with:
@@ -61,15 +58,13 @@ jobs:
pip install pyinstaller pip install pyinstaller
[ -f requirements.txt ] && pip install -r requirements.txt [ -f requirements.txt ] && pip install -r requirements.txt
- name: Install NodeJS dependencies ⬇️ - name: Install JS dependencies ⬇️
run: | working-directory: ./frontend
cd frontend uses: pnpm/action-setup@v2.2.3
pnpm ci
- name: Build JS Frontend 🛠️ - name: Build JS Frontend 🛠️
run: | working-directory: ./frontend
cd frontend run: pnpm run build
pnpm run build
- name: Build Python Backend 🛠️ - name: Build Python Backend 🛠️
run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data ./backend/static:/static --add-data ./backend/legacy:/legacy ./backend/*.py run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data ./backend/static:/static --add-data ./backend/legacy:/legacy ./backend/*.py