Skip to content

Commit ec2ba9b

Browse files
committed
update build scripts
1 parent 3d08919 commit ec2ba9b

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/pr-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: 18
21+
node-version: 20
2222
- run: npm ci
2323
- run: npm run lint
2424
- run: npm run build

.github/workflows/pre-release-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-node@v3
2525
with:
26-
node-version: 18
26+
node-version: 20
2727
- run: npm ci
2828
- run: npm run build
2929

.github/workflows/tagged-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
- uses: actions/setup-node@v3
4444
with:
45-
node-version: 18
45+
node-version: 20
4646
- run: npm ci
4747

4848
- uses: maxim-lobanov/setup-xcode@v1

.github/workflows/verify-configs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 16
15+
node-version: 20
1616
- run: npm ci
1717
- run: npm run verify

build.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -298,18 +298,18 @@ function generateWebpackCallback(finishOutputFunc) {
298298
async function build() {
299299
await deleteOldDir()
300300
if (isProduction && !isAnalyzing) {
301-
await runWebpack(
302-
true,
303-
false,
304-
generateWebpackCallback(() => finishOutput('-without-katex')),
305-
)
306-
await new Promise((r) => setTimeout(r, 5000))
301+
// await runWebpack(
302+
// true,
303+
// false,
304+
// generateWebpackCallback(() => finishOutput('-without-katex')),
305+
// )
306+
// await new Promise((r) => setTimeout(r, 5000))
307307
await runWebpack(
308308
true,
309309
true,
310310
generateWebpackCallback(() => finishOutput('-without-katex-and-tiktoken')),
311311
)
312-
await new Promise((r) => setTimeout(r, 5000))
312+
await new Promise((r) => setTimeout(r, 10000))
313313
}
314314
await runWebpack(
315315
false,

0 commit comments

Comments
 (0)