File tree Expand file tree Collapse file tree 4 files changed +3794
-3040
lines changed
Expand file tree Collapse file tree 4 files changed +3794
-3040
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,17 @@ on: push
44
55jobs :
66 test :
7- name : Test and typecheck on node 20.x and ubuntu-latest
7+ name : Lint, build, and test
88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@v4
11- - name : Use Node.js 20.x
12- uses : actions/setup-node@v4
11+ - uses : pnpm/action-setup@v4
12+ - uses : actions/setup-node@v4
1313 with :
14- node-version : ' 20'
15- - name : Install deps (with cache)
16- uses : bahmutov/npm-install@v1
17- - name : Build
18- run : yarn build
19- - name : Install Puppeteer browser
20- run : npx puppeteer browsers install chrome
21- - name : Test codebase
22- run : yarn test --run
23- - name : Upload coverage
24- uses : codecov/codecov-action@v2
25- - name : Typecheck codebase
26- run : yarn tsc
14+ node-version : 22.x
15+ cache : pnpm
16+ - run : pnpm install --frozen-lockfile
17+ - run : npx puppeteer browsers install chrome
18+ - run : pnpm lint
19+ - run : pnpm build
20+ - run : pnpm test
Original file line number Diff line number Diff line change 4646 "@typescript-eslint/parser" : " ^8.57.2" ,
4747 "eslint" : " ^9.0.0" ,
4848 "eslint-plugin-import" : " ^2.31.0" ,
49- "eslint-plugin-unicorn" : " ^63 .0.0" ,
49+ "eslint-plugin-unicorn" : " ^64 .0.0" ,
5050 "generic-filehandle2" : " ^2.0.18" ,
5151 "prettier" : " ^3.8.1" ,
5252 "puppeteer" : " ^24.40.0" ,
You can’t perform that action at this time.
0 commit comments