Skip to content

Commit 094984f

Browse files
AndrewChubatiukgithub-actionsAndrew Chubatiuk
authored
Node 18 (#6752)
* Snapshot: 24.02.0-dev * node-18 --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Andrew Chubatiuk <[email protected]>
1 parent 52cd6ff commit 094984f

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

.ci/Dockerfile.cypress

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM cypress/browsers:node16.18.0-chrome90-ff88
1+
FROM cypress/browsers:node18.12.0-chrome106-ff106
22

33
ENV APP /usr/src/app
44
WORKDIR $APP

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches:
88
- master
99
env:
10-
NODE_VERSION: 16.20.1
10+
NODE_VERSION: 18
1111
jobs:
1212
backend-lint:
1313
runs-on: ubuntu-22.04

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16.20.1-bookworm as frontend-builder
1+
FROM node:18-bookworm as frontend-builder
22

33
RUN npm install --global --force [email protected]
44

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
command = "cd ../ && yarn cache clean && yarn --frozen-lockfile --network-concurrency 1 && yarn build && cd ./client"
77

88
[build.environment]
9-
NODE_VERSION = "16.20.1"
9+
NODE_VERSION = "18"
1010
NETLIFY_USE_YARN = "true"
1111
YARN_VERSION = "1.22.19"
1212
CYPRESS_INSTALL_BINARY = "0"

package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
"start": "npm-run-all --parallel watch:viz webpack-dev-server",
88
"clean": "rm -rf ./client/dist/",
99
"build:viz": "(cd viz-lib && yarn build:babel)",
10-
"build": "yarn clean && yarn build:viz && NODE_ENV=production webpack",
11-
"build:old-node-version": "yarn clean && NODE_ENV=production node --max-old-space-size=4096 node_modules/.bin/webpack",
12-
"watch:app": "webpack watch --progress",
10+
"build": "yarn clean && yarn build:viz && NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production webpack",
11+
"watch:app": "NODE_OPTIONS=--openssl-legacy-provider webpack watch --progress",
1312
"watch:viz": "(cd viz-lib && yarn watch:babel)",
1413
"watch": "npm-run-all --parallel watch:*",
1514
"webpack-dev-server": "webpack-dev-server",
16-
"analyze": "yarn clean && BUNDLE_ANALYZER=on webpack",
17-
"analyze:build": "yarn clean && NODE_ENV=production BUNDLE_ANALYZER=on webpack",
15+
"analyze": "yarn clean && BUNDLE_ANALYZER=on NODE_OPTIONS=--openssl-legacy-provider webpack",
16+
"analyze:build": "yarn clean && NODE_ENV=production BUNDLE_ANALYZER=on NODE_OPTIONS=--openssl-legacy-provider webpack",
1817
"lint": "yarn lint:base --ext .js --ext .jsx --ext .ts --ext .tsx ./client",
1918
"lint:fix": "yarn lint:base --fix --ext .js --ext .jsx --ext .ts --ext .tsx ./client",
2019
"lint:base": "eslint --config ./client/.eslintrc.js --ignore-path ./client/.eslintignore",
@@ -34,7 +33,7 @@
3433
"url": "git+https://github.com/getredash/redash.git"
3534
},
3635
"engines": {
37-
"node": ">14.16.0 <17.0.0",
36+
"node": ">16.0 <21.0",
3837
"npm": "please-use-yarn",
3938
"yarn": "^1.22.10"
4039
},

0 commit comments

Comments
 (0)