File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - develop
7+ pull_request :
8+ branches :
9+ - develop
10+
11+ jobs :
12+ setup :
13+ runs-on : ubuntu-latest
14+ name : Compile and test MathJax
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+
19+ - uses : pnpm/action-setup@v4
20+ name : Install pnpm
21+ with :
22+ version : 10
23+ run_install : false
24+
25+ - name : Install packages
26+ run : |
27+ pnpm -r i
28+ pnpm link:src
29+
30+ - name : Temporarily make link
31+ run : |
32+ cd node_modules
33+ ln -s @mathjax/src mathjax-full
34+
35+ - name : Compile MathJax
36+ run : |
37+ pnpm mjs:compile
38+ components/bin/makeAll --mjs --terse --build components/mjs
39+ pnpm cjs:compile
40+ pnpm cjs:components:src:build
41+ components/bin/makeAll --cjs --terse --build components/cjs
42+ pnpm copy:pkg cjs
43+
44+ - name : Build tests
45+ run : pnpm tsc -p testsuite/tsconfig.json
46+
47+ - name : Run tests
48+ run : pnpm test:gh
You can’t perform that action at this time.
0 commit comments