diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 03af370675..4e1cd1aec1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,16 +29,14 @@ jobs: name: Generate Code Docs steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 - - uses: pnpm/action-setup@v5 - name: Install pnpm + - uses: pnpm/setup@v3 + name: Install pnpm, Node.js and packages with: - version: 10 - run_install: false - - - name: Install packages - run: pnpm i + version: 12 + runtime: node@26 + cache: true - name: Build docs run: pnpm typedoc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2ba3827d85..c324b591ea 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,21 +14,13 @@ jobs: name: Build and publish MathJax steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 - - uses: pnpm/action-setup@v5 - name: Install pnpm + - uses: pnpm/setup@v3 + name: Install pnpm, Node.js and packages with: - version: 10 - run_install: false - - - uses: actions/setup-node@v5 - with: - node-version: '24' - registry-url: 'https://registry.npmjs.org' - - - name: Install packages - run: pnpm i + version: 12 + runtime: node@26 - name: Build MathJax run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5ad53e87d..efca1c5a2a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,19 +14,15 @@ jobs: name: Compile and test MathJax steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 - - uses: pnpm/action-setup@v6 - name: Install pnpm + - uses: pnpm/setup@v3 + name: Install pnpm and Node.js with: - version: 11 - run_install: false - - - name: Install Node.js - uses: actions/setup-node@v5 - with: - node-version: 24 - cache: 'pnpm' + version: 12 + runtime: node@26 + cache: true + install: false - name: Install packages run: | @@ -51,7 +47,7 @@ jobs: run: pnpm --silent test:gh - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v6 + uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} slug: mathjax/MathJax-src