Change from building with node 15 (end of life 2021) to node 18 (just gone EOL, but used on the Pi)
This commit is contained in:
parent
16317bf94c
commit
deeb164f29
1 changed files with 2 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ meta-build-image:
|
||||||
- web
|
- web
|
||||||
|
|
||||||
.javascript:
|
.javascript:
|
||||||
image: node:15
|
image: node:18
|
||||||
before_script:
|
before_script:
|
||||||
- cd webapp
|
- cd webapp
|
||||||
- npm install
|
- npm install
|
||||||
|
|
@ -145,6 +145,7 @@ build:
|
||||||
stage: build
|
stage: build
|
||||||
extends: .javascript
|
extends: .javascript
|
||||||
script:
|
script:
|
||||||
|
- export NODE_OPTIONS=--openssl-legacy-provider
|
||||||
# Build JS application for production
|
# Build JS application for production
|
||||||
- npm run build
|
- npm run build
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue