chore(node): bumping Superset to Node 18 (#27198)

This commit is contained in:
Evan Rusackas
2024-04-02 16:48:08 -06:00
committed by GitHub
parent 29a5b72d5f
commit 5603453c18
16 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
registry-url: "https://registry.npmjs.org"
node-version: "18"
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run ci:release
env:
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "18"
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm test
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
node-version: [16]
node-version: [18]
steps:
- uses: actions/checkout@v4
@@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
browser: ["chrome"]
node: [16]
node: [18]
env:
SUPERSET_ENV: development
SUPERSET_CONFIG: tests.integration_tests.superset_test_config
@@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
node: [16]
node: [18]
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
+2 -2
View File
@@ -36,10 +36,10 @@ jobs:
with:
persist-credentials: false
submodules: recursive
- name: Set up Node.js 16
- name: Set up Node.js 18
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: '18'
- name: yarn install
run: |
yarn install --check-cache
+2 -2
View File
@@ -24,10 +24,10 @@ jobs:
with:
persist-credentials: false
submodules: recursive
- name: Set up Node.js 16
- name: Set up Node.js 18
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
- name: yarn install
run: |
yarn install --check-cache
+1 -1
View File
@@ -39,7 +39,7 @@ jobs:
if: steps.check.outcome == 'failure'
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "18"
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: '18'
- name: Install dependencies
uses: ./.github/actions/cached-dependencies
with:
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: '18'
- name: Install Dependencies
run: npm install
@@ -32,7 +32,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
- name: Install Dependencies and Update Lock File
run: |
+2 -2
View File
@@ -584,8 +584,8 @@ Frontend assets (TypeScript, JavaScript, CSS, and images) must be compiled in or
First, be sure you are using the following versions of Node.js and npm:
- `Node.js`: Version 16
- `npm`: Version 7
- `Node.js`: Version 18
- `npm`: Version 10
We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage your node environment:
+1 -1
View File
@@ -22,7 +22,7 @@ ARG PY_VER=3.10-slim-bookworm
# if BUILDPLATFORM is null, set it to 'amd64' (or leave as is otherwise).
ARG BUILDPLATFORM=${BUILDPLATFORM:-amd64}
FROM --platform=${BUILDPLATFORM} node:16-bookworm-slim AS superset-node
FROM --platform=${BUILDPLATFORM} node:18-bullseye-slim AS superset-node
ARG NPM_BUILD_CMD="build"
+1 -1
View File
@@ -126,7 +126,7 @@ services:
disable: true
superset-node:
image: node:16
image: node:18
environment:
# set this to false if you have perf issues running the npm i; npm run dev in-docker
# if you do so, you have to run this manually on the host, which should perform better!
+2 -2
View File
@@ -288,8 +288,8 @@
"xdm": "^3.4.0"
},
"engines": {
"node": "^16.20.2",
"npm": "^8.19.4"
"node": "^18.19.1",
"npm": "^10.2.4"
}
},
"buildtools/eslint-plugin-theme-colors": {
+2 -2
View File
@@ -354,8 +354,8 @@
"xdm": "^3.4.0"
},
"engines": {
"node": "^16.20.2",
"npm": "^8.19.4"
"node": "^18.19.1",
"npm": "^10.2.4"
},
"overrides": {
"d3-color": "^3.1.0",