File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 4343 run : pnpm install
4444 - name : Lint JS files
4545 run : pnpm run lint
46+ Typecheck :
47+ runs-on : ubuntu-latest
48+ steps :
49+ - name : Checkout code
50+ uses : actions/checkout@v4
51+ - name : Setup Node
52+ uses : actions/setup-node@v4
53+ with :
54+ node-version : " 20"
55+ - name : Restore node_modules cache
56+ uses : actions/cache@v4
57+ with :
58+ path : node_modules
59+ key : ${{ runner.os }}-node-modules-${{ hashFiles('package.json') }}
60+ restore-keys : |
61+ ${{ runner.os }}-node-modules
62+ - name : Install pnpm
63+ uses : pnpm/action-setup@v4
64+ - name : Install dependencies
65+ run : pnpm install
66+ - name : Typecheck files
67+ run : pnpm run typecheck
Original file line number Diff line number Diff line change 2929 "vitest" : " ^3.2.4"
3030 },
3131 "scripts" : {
32+ "typecheck" : " tsc --noEmit" ,
3233 "build" : " vite build && tsc" ,
3334 "lint" : " prettier --check 'src/**/*'" ,
3435 "test" : " vitest"
You can’t perform that action at this time.
0 commit comments