summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml15
1 files changed, 5 insertions, 10 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e9da38d5..9ccf9798 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -46,9 +46,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
-
- - name: Set up PNPM 💎
- uses: pnpm/action-setup@v2.2.3
- name: Set up Python 3.10 🐍
uses: actions/setup-python@v3
@@ -61,15 +58,13 @@ jobs:
pip install pyinstaller
[ -f requirements.txt ] && pip install -r requirements.txt
- - name: Install NodeJS dependencies ⬇️
- run: |
- cd frontend
- pnpm ci
+ - name: Install JS dependencies ⬇️
+ working-directory: ./frontend
+ uses: pnpm/action-setup@v2.2.3
- name: Build JS Frontend 🛠️
- run: |
- cd frontend
- pnpm run build
+ working-directory: ./frontend
+ run: pnpm run build
- name: Build Python Backend 🛠️
run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data ./backend/static:/static --add-data ./backend/legacy:/legacy ./backend/*.py