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:
13
13
- name : setup
14
14
uses : actions/setup-node@v4
15
15
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
17
22
18
23
- name : cache
19
24
20
25
with :
21
26
path : |
22
27
node_modules
23
- key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
28
+ ~/.pnpm-store
29
+ key : ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
24
30
25
31
- name : upload
26
32
run : |
27
33
git submodule update --init --recursive
34
+ pnpm install
28
35
make build
29
36
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
30
- npm publish || true
37
+ pnpm publish || true
31
38
unlink katex/README.md && cp README.md katex/README.md
32
39
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