File tree Expand file tree Collapse file tree 3 files changed +44
-1
lines changed Expand file tree Collapse file tree 3 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on :
4+ push :
5+ branches : [ main, develop ]
6+ pull_request :
7+ branches : [ main, develop ]
8+
9+ jobs :
10+ lint :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : ' 18'
21+
22+ - name : Setup pnpm
23+ uses : pnpm/action-setup@v4
24+ with :
25+ version : 10.14.0
26+
27+ - name : Install dependencies
28+ run : pnpm install --frozen-lockfile
29+
30+ - name : Run lint
31+ run : pnpm run lint
32+
33+ - name : Run format check
34+ run : pnpm run format --check
35+
36+ - name : Run type check
37+ run : pnpm run build
Original file line number Diff line number Diff line change 3030 - name : Install dependencies
3131 run : pnpm install --frozen-lockfile
3232
33+ - name : Run lint
34+ run : pnpm run lint
35+
36+ - name : Run format check
37+ run : pnpm run format --check
38+
3339 - name : Build package
3440 run : pnpm run build
3541
Original file line number Diff line number Diff line change 11import { promises as fs } from 'node:fs' ;
2- import path from 'node:path' ;
32import { readFileSync } from 'node:fs' ;
3+ import path from 'node:path' ;
44import { fileURLToPath } from 'node:url' ;
55import chalk from 'chalk' ;
66import { Command } from 'commander' ;
You can’t perform that action at this time.
0 commit comments