File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+ push :
7+ branches : [main]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ node : [20, 22]
16+
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v4
20+
21+ - name : Setup pnpm
22+ uses : pnpm/action-setup@v4
23+ with :
24+ version : 9
25+
26+ - name : Setup Node.js ${{ matrix.node }}
27+ uses : actions/setup-node@v4
28+ with :
29+ node-version : ${{ matrix.node }}
30+ cache : pnpm
31+
32+ - name : Install dependencies
33+ run : pnpm install --frozen-lockfile
34+
35+ - name : Type check
36+ run : pnpm typecheck
37+
38+ - name : Build
39+ run : pnpm build
40+
41+ - name : Run tests
42+ run : pnpm test
Original file line number Diff line number Diff line change 2424 "url" : " https://github.com/unlayer/cli/issues"
2525 },
2626 "scripts" : {
27- "prepare" : " npx tsup" ,
2827 "build" : " tsup" ,
2928 "dev" : " tsup --watch" ,
3029 "start" : " node dist/index.js" ,
You can’t perform that action at this time.
0 commit comments