Make sure SRE options are set if only a convert call is used. #524
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| testing: | |
| runs-on: ubuntu-latest | |
| name: Compile and test MathJax | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v5 | |
| name: Install pnpm | |
| with: | |
| version: 10 | |
| run_install: false | |
| - name: Install Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| - name: Install packages | |
| run: | | |
| pnpm -r i | |
| pnpm -s link:src | |
| - name: Compile MathJax | |
| run: | | |
| pnpm -s mjs:compile | |
| pnpm -s copy:assets mjs | |
| components/bin/makeAll --mjs --terse --build --copy components/mjs | |
| pnpm -s cjs:compile | |
| pnpm -s cjs:components:src:build | |
| pnpm -s copy:assets cjs | |
| components/bin/makeAll --cjs --terse --build --copy components/cjs | |
| pnpm -s copy:pkg cjs | |
| - name: Build tests | |
| run: pnpm tsc -p testsuite/tsconfig.json | |
| - name: Run tests | |
| run: pnpm -s test:gh | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: mathjax/MathJax-src |