Skip to content

Commit

Permalink
[core] Upgrade Node.js to v18 on CircleCI, CodeSandbox and Netlify (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli authored Jun 15, 2023
1 parent 00bc903 commit ecd64a4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ defaults: &defaults
REACT_DIST_TAG: << parameters.react-dist-tag >>
working_directory: /tmp/mui
docker:
- image: cimg/node:14.21
- image: cimg/node:18.16
# CircleCI has disabled the cache across forks for security reasons.
# Following their official statement, it was a quick solution, they
# are working on providing this feature back with appropriate security measures.
Expand Down
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"buildCommand": "build:codesandbox",
"installCommand": "install:codesandbox",
"node": "14",
"node": "18",
"packages": [
"packages/x-license-pro",
"packages/grid/x-data-grid",
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
command = "yarn docs:build && yarn docs:export"

[build.environment]
NODE_VERSION = "14"
NODE_VERSION = "18"
NODE_OPTIONS = "--max_old_space_size=4096"
# Not using `playwright` when building docs.
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ describe('<DateField /> - Editing', () => {
describeAdapters('Pasting', DateField, ({ adapter, render, renderWithProps, clickOnInput }) => {
const firePasteEvent = (input: HTMLInputElement, pastedValue: string) => {
act(() => {
const clipboardEvent = new Event('paste', {
const clipboardEvent = new window.Event('paste', {
bubbles: true,
cancelable: true,
composed: true,
Expand Down

0 comments on commit ecd64a4

Please sign in to comment.