File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,28 @@ jobs:
1313 - name : setup
1414 uses : actions/setup-node@v4
1515 with :
16- node-version : " 18.18.2"
16+ node-version : " 24.1.0"
17+
18+ - name : install pnpm
19+ uses : pnpm/action-setup@v4
20+ with :
21+ version : latest
1722
1823 - name : cache
19242025 with :
2126 path : |
2227 node_modules
23- key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
28+ ~/.pnpm-store
29+ key : ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
2430
2531 - name : upload
2632 run : |
2733 git submodule update --init --recursive
34+ pnpm install
2835 make build
2936 echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
30- npm publish || true
37+ pnpm publish || true
3138 unlink katex/README.md && cp README.md katex/README.md
3239 echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > katex/.npmrc
33- cd katex && npm publish || true
40+ cd katex && pnpm publish || true
You can’t perform that action at this time.
0 commit comments