File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout repository
12+ uses : actions/checkout@v4
13+
14+ - name : Use node.js
15+ uses : actions/setup-node@v4
16+ with :
17+ node-version : ' 20.x'
18+ registry-url : ' https://registry.npmjs.org'
19+ cache : ' pnpm'
20+
21+ - name : Install pnpm
22+ uses : pnpm/action-setup@v4
23+
24+ - name : Installing Dependencies
25+ run : pnpm install
26+
27+ - name : Running unit Test
28+ run : pnpm run test:unit
Original file line number Diff line number Diff line change 3333 if : steps.cache-dependencies.outputs.cache-hit != 'true'
3434 run : pnpm install
3535
36- - name : Running Test
37- run : pnpm run test
36+ - name : Running unit Test
37+ run : pnpm run test:unit
3838
3939 - name : Running Build
4040 run : pnpm run build
You can’t perform that action at this time.
0 commit comments