Upgrade to node 18

This commit is contained in:
FloatingGhost 2022-11-13 21:09:53 +00:00
parent c682c5b61d
commit 1de09f64a2
2 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,7 @@ pipeline:
when:
event:
- pull_request
image: node:16
image: node:18
commands:
- yarn
- yarn lint
@ -13,7 +13,7 @@ pipeline:
when:
event:
- pull_request
image: node:16
image: node:18
commands:
- apt update
- apt install firefox-esr -y --no-install-recommends
@ -27,7 +27,7 @@ pipeline:
branch:
- develop
- stable
image: node:16
image: node:18
commands:
- yarn
- yarn build
@ -39,7 +39,7 @@ pipeline:
branch:
- develop
- stable
image: node:16
image: node:18
secrets:
- SCW_ACCESS_KEY
- SCW_SECRET_KEY

View File

@ -20,6 +20,7 @@ module.exports = {
app: './src/main.js'
},
output: {
hashFunction: "sha256", // Workaround for builds with OpenSSL 3.
path: config.build.assetsRoot,
publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath,
filename: '[name].js'