ci(webui): use node 18

This commit is contained in:
Gauthier Roebroeck 2023-11-27 14:47:26 +08:00
parent d6680a4f42
commit dedb01fe08
4 changed files with 5 additions and 4 deletions

View File

@ -82,7 +82,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: komga-webui/package-lock.json

View File

@ -59,7 +59,7 @@ jobs:
run: diff --unified ./komga-tray/conveyor/required-jdk-modules.txt ./output/required-jdk-modules.txt
- name: Upload JDK required modules
if: failure()
if: steps.conveyor_compare.outcome == 'failure'
uses: actions/upload-artifact@v3
with:
name: conveyor-required-jdk-modules
@ -72,7 +72,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: komga-webui/package-lock.json
- name: npm install

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
18

View File

@ -7,7 +7,7 @@ Thanks a lot for contributing to Komga!
You will need:
- Java JDK version 17 & 21
- Nodejs version 16+
- Nodejs version 18+ (check the `.nvmrc` file)
## Setting up the project