Skip to content

Commit 8d69030

Browse files
committed
Merge branch 'main' of https://github.com/drawdb-io/drawdb into oracledb-dev
2 parents f4b3177 + 7f5f481 commit 8d69030

File tree

5 files changed

+41
-0
lines changed

5 files changed

+41
-0
lines changed

.github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8+
types: [ opened, synchronize, reopened ]
89

910
jobs:
1011
build:

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ WORKDIR /app
44
COPY package*.json ./
55
RUN npm ci
66
COPY . .
7+
ENV NODE_OPTIONS="--max-old-space-size=4096"
78
RUN npm run build
89

910
# Stage 2: Setup the Nginx Server to serve the app

package-lock.json

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@uiw/codemirror-theme-vscode": "^4.21.25",
2020
"@uiw/react-codemirror": "^4.21.25",
2121
"@vercel/analytics": "^1.2.2",
22+
"@vercel/speed-insights": "^1.2.0",
2223
"axios": "^1.7.4",
2324
"classnames": "^2.5.1",
2425
"dexie": "^3.2.4",

src/main.jsx

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import ReactDOM from "react-dom/client";
22
import { LocaleProvider } from "@douyinfe/semi-ui";
33
import { Analytics } from "@vercel/analytics/react";
4+
import { SpeedInsights } from "@vercel/speed-insights/react";
45
import App from "./App.jsx";
56
import en_US from "@douyinfe/semi-ui/lib/es/locale/source/en_US";
67
import "./index.css";
@@ -11,5 +12,6 @@ root.render(
1112
<LocaleProvider locale={en_US}>
1213
<App />
1314
<Analytics />
15+
<SpeedInsights />
1416
</LocaleProvider>,
1517
);

0 commit comments

Comments
 (0)