Skip to content

Commit 685a53b

Browse files
authored
Merge pull request #1389 from mathjax/fix/node-25
Add localstorage flag needed for node v25
2 parents fecee0a + 447f90a commit 685a53b

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [published]
66

77
jobs:
8-
setup:
8+
publish:
99
runs-on: ubuntu-latest
1010
name: Build and publish MathJax
1111
permissions:

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- develop
1010

1111
jobs:
12-
setup:
12+
testing:
1313
runs-on: ubuntu-latest
1414
name: Compile and test MathJax
1515
steps:
@@ -22,6 +22,12 @@ jobs:
2222
version: 10
2323
run_install: false
2424

25+
- name: Install Node.js
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 24
29+
cache: 'pnpm'
30+
2531
- name: Install packages
2632
run: |
2733
pnpm -r i

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ coverage
88
/bundle
99
/bundle-cjs
1010
/testsuite/js
11+
/testsuite/lib/localstorage
1112
/lab/sre.js

testsuite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "MathJax jest tests for v4",
55
"type": "module",
66
"scripts": {
7-
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' pnpm jest"
7+
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings --localstorage-file ./lib/localstorage' pnpm jest"
88
},
99
"imports": {
1010
"#js/*": "../mjs/*",

0 commit comments

Comments
 (0)