File tree Expand file tree Collapse file tree 4 files changed +5754
-6353
lines changed Expand file tree Collapse file tree 4 files changed +5754
-6353
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v3
12+ - uses : pnpm/action-setup@v2
13+ with :
14+ version : 8
1215 - name : Setup Node
1316 uses : actions/setup-node@v3
1417 with :
1518 node-version : current
16- cache : ' yarn '
17- - run : yarn install --frozen-lockfile
18- - run : yarn test
19+ cache : ' pnpm '
20+ - run : pnpm install --frozen-lockfile
21+ - run : pnpm test
1922 env :
2023 CI : true
2124 eslint :
2225 runs-on : ubuntu-latest
2326 steps :
2427 - uses : actions/checkout@v3
28+ - uses : pnpm/action-setup@v2
29+ with :
30+ version : 8
2531 - name : Setup Node
2632 uses : actions/setup-node@v3
2733 with :
2834 node-version : current
29- cache : ' yarn '
30- - run : yarn install --frozen-lockfile
31- - run : yarn lint-fix
32- - run : yarn prettier
35+ cache : ' pnpm '
36+ - run : pnpm install --frozen-lockfile
37+ - run : pnpm lint-fix
38+ - run : pnpm prettier
3339 - name : Auto commit fixed code
3440 id : auto-commit-action
3541 uses : stefanzweifel/git-auto-commit-action@v4
Original file line number Diff line number Diff line change 1515 " README.md"
1616 ],
1717 "scripts" : {
18+ "preinstall" : " npx only-allow pnpm" ,
1819 "type-check" : " tsc --noEmit" ,
1920 "type-check:yup" : " tsc --strict --noEmit example/yup/schemas.ts" ,
2021 "type-check:zod" : " tsc --strict --noEmit example/zod/schemas.ts" ,
You can’t perform that action at this time.
0 commit comments