Skip to content
Snippets Groups Projects
Verified Commit bedfbaef authored by Luc Everse's avatar Luc Everse :passport_control:
Browse files

Upgrade to Node 18

parent 624379a5
No related branches found
No related tags found
2 merge requests!183Release 2.5.1,!181Force update ui
......@@ -10,7 +10,7 @@ RUN sh -c 'apt-get update \
&& apt-get install -y --no-install-recommends openjdk-11-jdk-headless python3 ruby ruby-dev \
build-essential libicu67 libicu-dev zlib1g zlib1g-dev cmake pkg-config libssl1.1 \
libssl-dev git python3-pip curl \
&& curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y nodejs \
&& pip3 install profanity-check pylint==2.14.5 \
&& gem install -N github-linguist \
......
......@@ -67,6 +67,7 @@ task initUi(type: Exec) {
workingDir "${rootProject.projectDir}/ui"
environment 'NODE_OPTIONS', '--openssl-legacy-provider'
commandLine 'npm', 'install'
outputs.file("${uiRoot}/package-lock.json")
......@@ -77,6 +78,7 @@ task buildUi(type: Exec) {
workingDir "${rootProject.projectDir}/ui"
environment 'NODE_OPTIONS', '--openssl-legacy-provider'
commandLine 'npm', 'run', 'build'
outputs.dir("${rootProject.projectDir}/ui/dist/")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment