File tree Expand file tree Collapse file tree 5 files changed +43
-13
lines changed Expand file tree Collapse file tree 5 files changed +43
-13
lines changed Original file line number Diff line number Diff line change 1
- name : Integration Tests
1
+ name : Core Integration Tests
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change
1
+ name : Core Unit Tests
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+
9
+ jobs :
10
+ unit-test :
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ node-version : [22.x]
16
+
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+
20
+ - name : Use Node.js ${{ matrix.node-version }}
21
+ uses : actions/setup-node@v4
22
+ with :
23
+ node-version : ${{ matrix.node-version }}
24
+
25
+ - name : Install pnpm
26
+ uses : pnpm/action-setup@v2
27
+ with :
28
+ version : 8
29
+
30
+ - name : Install dependencies
31
+ run : pnpm install
32
+
33
+ - name : Run unit tests
34
+ run : pnpm --filter @firebase-ui/core test:unit
Original file line number Diff line number Diff line change 1
- name : Unit Tests
1
+ name : React Unit Tests
2
2
3
3
on :
4
4
push :
31
31
run : pnpm install
32
32
33
33
- name : Run unit tests
34
- run : pnpm --filter @firebase-ui/core test
34
+ run : pnpm --filter @firebase-ui/react test
Original file line number Diff line number Diff line change 23
23
"lint" : " tsc --noEmit" ,
24
24
"format" : " prettier --write \" src/**/*.ts\" \" tests/**/*.ts\" " ,
25
25
"clean" : " rimraf dist" ,
26
- "test" : " vitest run tests/unit" ,
27
- "test:watch" : " vitest tests/unit" ,
26
+ "test:unit " : " vitest run tests/unit" ,
27
+ "test:unit: watch" : " vitest tests/unit" ,
28
28
"test:integration" : " vitest run tests/integration" ,
29
29
"test:integration:watch" : " vitest tests/integration" ,
30
- "test:all " : " vitest run"
30
+ "test" : " vitest run"
31
31
},
32
32
"keywords" : [
33
33
" firebase" ,
Original file line number Diff line number Diff line change 23
23
"lint" : " tsc --noEmit" ,
24
24
"format" : " prettier --write \" src/**/*.ts\" " ,
25
25
"clean" : " rimraf dist" ,
26
- "test" : " vitest run tests/unit" ,
27
- "test:watch" : " vitest tests/unit" ,
28
- "test:integration" : " vitest run tests/integration" ,
29
- "test:integration:watch" : " vitest tests/integration" ,
30
- "test:e2e" : " vitest run tests/e2e" ,
31
- "test:e2e:watch" : " vitest tests/e2e" ,
32
- "test:all" : " vitest run"
26
+ "test:unit" : " vitest run tests/unit" ,
27
+ "test:unit:watch" : " vitest tests/unit" ,
28
+ "test" : " vitest run"
33
29
},
34
30
"peerDependencies" : {
35
31
"@firebase-ui/core" : " workspace:*" ,
You can’t perform that action at this time.
0 commit comments