From 98b3a82d83a59971233b8fed6a946803efd78a11 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Thu, 13 Nov 2025 21:44:00 -0500 Subject: [PATCH 1/3] Add localstorage flag needed for node v25 --- testsuite/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/package.json b/testsuite/package.json index 7bc8f84f8..b77609b5d 100644 --- a/testsuite/package.json +++ b/testsuite/package.json @@ -4,7 +4,7 @@ "description": "MathJax jest tests for v4", "type": "module", "scripts": { - "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' pnpm jest" + "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings --localstorage-file ./lib/localstorage' pnpm jest" }, "imports": { "#js/*": "../mjs/*", From d781cfa463cf070357cea9c0dd2ead7697517ff1 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sun, 16 Nov 2025 16:26:35 -0500 Subject: [PATCH 2/3] Ignore the localstorage file --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index b16c8614b..31f8b3162 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ coverage /bundle /bundle-cjs /testsuite/js +/testsuite/lib/localstorage /lab/sre.js From 447f90a87d16208aa8964c0c8e6ddce97fadb93a Mon Sep 17 00:00:00 2001 From: zorkow Date: Wed, 19 Nov 2025 17:20:42 +0100 Subject: [PATCH 3/3] use of node24 for tests and job renaming --- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3d4e9f906..d820ce859 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,7 +5,7 @@ on: types: [published] jobs: - setup: + publish: runs-on: ubuntu-latest name: Build and publish MathJax permissions: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4a0da0f71..8c8d6a72e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ on: - develop jobs: - setup: + testing: runs-on: ubuntu-latest name: Compile and test MathJax steps: @@ -22,6 +22,12 @@ jobs: version: 10 run_install: false + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 24 + cache: 'pnpm' + - name: Install packages run: | pnpm -r i