diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 90ae1aef..171af24f 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -16,9 +16,9 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - run: npm ci - run: npm run lint - run: npm run build \ No newline at end of file diff --git a/.github/workflows/pre-release-build.yml b/.github/workflows/pre-release-build.yml index 4811c5f6..75751e4a 100644 --- a/.github/workflows/pre-release-build.yml +++ b/.github/workflows/pre-release-build.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - run: npm ci - run: npm run build @@ -47,7 +47,7 @@ jobs: name: Chromium_Build_WithoutKatex_${{ steps.current-time.outputs.formattedTime }} path: build/chromium-without-katex-and-tiktoken/* - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: Firefox_Build_WithoutKatex_${{ steps.current-time.outputs.formattedTime }} path: build/firefox-without-katex-and-tiktoken/* diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index ef794ff8..c4af31b3 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -40,9 +40,9 @@ jobs: git commit -am "release v${{ env.VERSION }}" git push - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - run: npm ci - uses: maxim-lobanov/setup-xcode@v1 diff --git a/.github/workflows/verify-configs.yml b/.github/workflows/verify-configs.yml index f87d15bf..daecf7f2 100644 --- a/.github/workflows/verify-configs.yml +++ b/.github/workflows/verify-configs.yml @@ -10,8 +10,8 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - run: npm ci - run: npm run verify diff --git a/build.mjs b/build.mjs index 0baf44fb..932ac663 100644 --- a/build.mjs +++ b/build.mjs @@ -298,18 +298,18 @@ function generateWebpackCallback(finishOutputFunc) { async function build() { await deleteOldDir() if (isProduction && !isAnalyzing) { - await runWebpack( - true, - false, - generateWebpackCallback(() => finishOutput('-without-katex')), - ) - await new Promise((r) => setTimeout(r, 5000)) + // await runWebpack( + // true, + // false, + // generateWebpackCallback(() => finishOutput('-without-katex')), + // ) + // await new Promise((r) => setTimeout(r, 5000)) await runWebpack( true, true, generateWebpackCallback(() => finishOutput('-without-katex-and-tiktoken')), ) - await new Promise((r) => setTimeout(r, 5000)) + await new Promise((r) => setTimeout(r, 10000)) } await runWebpack( false,