build both UIs when releasing

This commit is contained in:
Gauthier Roebroeck 2025-10-17 09:52:09 +08:00
parent 2f04ce3677
commit f55b2de20e

View file

@ -88,7 +88,7 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: komga-webui/package-lock.json
cache-dependency-path: '**/package-lock.json'
- name: Setup Java 21
uses: actions/setup-java@v5
@ -119,8 +119,16 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: NextUI - npm install
working-directory: next-ui
run: npm ci
- name: NextUI - build
working-directory: next-ui
run: npm run build
- name: Build
run: ./gradlew :komga:prepareThymeLeaf :komga:bootJar :komga-tray:jar
run: ./gradlew :komga:prepareThymeLeaf :komga:prepareThymeLeafNext :komga:bootJar :komga-tray:jar
env:
NODE_OPTIONS: "--max-old-space-size=4096"