File tree Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 2323
2424 - run : npx changelogithub
2525 env :
26- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -11,19 +11,21 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v4
14+
15+ - name : Install pnpm
16+ 17+
1418 - name : Set node
1519 uses : actions/setup-node@v4
1620 with :
1721 node-version : lts/*
18-
19- - name : Setup
20- run : npm i -g @antfu/ni
22+ cache : pnpm
2123
2224 - name : Install
23- run : nci
25+ run : pnpm i
2426
2527 - name : Lint
26- run : nr lint
28+ run : pnpm run lint
2729
2830 test :
2931 runs-on : ${{ matrix.os }}
@@ -36,19 +38,24 @@ jobs:
3638
3739 steps :
3840 - uses : actions/checkout@v4
41+
42+ - name : Install pnpm
43+ 44+
3945 - name : Set node ${{ matrix.node }}
4046 uses : actions/setup-node@v4
4147 with :
4248 node-version : ${{ matrix.node }}
49+ cache : pnpm
4350
44- - name : Setup
45- run : npm i -g @antfu/ni
46-
47- - name : Install
48- run : nci
51+ - name : Install dependencies
52+ run : pnpm i
4953
5054 - name : Build
51- run : nr build
55+ run : pnpm run build
56+
57+ - name : Typecheck
58+ run : pnpm run typecheck
5259
5360 - name : Test
54- run : nr test
61+ run : pnpm run test
You can’t perform that action at this time.
0 commit comments