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
|
||||
|
||||
.javascript:
|
||||
image: node:15
|
||||
image: node:18
|
||||
before_script:
|
||||
- cd webapp
|
||||
- npm install
|
||||
|
|
@ -145,6 +145,7 @@ build:
|
|||
stage: build
|
||||
extends: .javascript
|
||||
script:
|
||||
- export NODE_OPTIONS=--openssl-legacy-provider
|
||||
# Build JS application for production
|
||||
- npm run build
|
||||
artifacts:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue