Skip to content

Commit 37a372a

Browse files
committed
add CI for the components
1 parent 945f4eb commit 37a372a

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: CI
22
on:
3-
pull_request:
43
push:
54

65
jobs:
@@ -17,7 +16,6 @@ jobs:
1716
- uses: actions/checkout@v4
1817
- run: npm i
1918
- run: tsc
20-
working-directory: ./packages/components
2119

2220
test:
2321
runs-on: ubuntu-latest
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI in the components package
2+
on:
3+
push:
4+
paths:
5+
- 'packages/components/**'
6+
- '.github/workflows/ci_components.yml'
7+
8+
defaults:
9+
run:
10+
working-directory: ./packages/components
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- run: npm i
18+
- run: npm run lint
19+
20+
typecheck:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- run: npm i
25+
- run: tsc
26+
27+
test:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
- run: npm i
32+
- run: npm run coverage

0 commit comments

Comments
 (0)