diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 90ae1ae..171af24 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 4811c5f..b4c49c8 100644 --- a/.github/workflows/pre-release-build.yml +++ b/.github/workflows/pre-release-build.yml @@ -21,9 +21,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 build diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index ef794ff..9f51f6c 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -40,11 +40,14 @@ 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: actions/setup-python@v4 + with: + python-version: '3.10' # for appdmg - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: 14.2 diff --git a/.github/workflows/verify-configs.yml b/.github/workflows/verify-configs.yml index f87d15b..daecf7f 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 0baf44f..932ac66 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,