summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5b335ba0..e9da38d5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -46,6 +46,9 @@ 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,10 +64,14 @@ jobs:
- name: Install NodeJS dependencies ⬇️
run: |
cd frontend
- npm i
- npm run build
+ pnpm ci
+
+ - name: Build JS Frontend 🛠️
+ run: |
+ cd frontend
+ pnpm run build
- - name: Build 🛠️
+ - name: Build Python Backend 🛠️
run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data ./backend/static:/static --add-data ./backend/legacy:/legacy ./backend/*.py
- name: Upload package artifact ⬆️