File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 49
49
- name : Install dependencies
50
50
run : npm ci
51
51
- name : Lint affected projects
52
- run : npx nx affected: lint --parallel=3
52
+ run : npx nx affected -t lint --parallel=3
53
53
54
54
unit-test :
55
55
strategy :
73
73
- name : Install dependencies
74
74
run : npm ci
75
75
- name : Unit test affected projects
76
- run : npx nx affected -t unit-test --parallel=3 --coverage.enabled
76
+ run : npx nx affected -t unit-test --parallel=3
77
77
78
78
integration-test :
79
79
strategy :
97
97
- name : Install dependencies
98
98
run : npm ci
99
99
- name : Integration test affected projects
100
- run : npx nx affected -t int-test --parallel=3 --coverage.enabled
100
+ run : npx nx affected -t int-test --parallel=3
101
101
102
102
e2e :
103
103
strategy :
Original file line number Diff line number Diff line change 48
48
- name : Install dependencies
49
49
run : npm ci
50
50
- name : Execute tests with coverage
51
- run : npx nx run ${{ matrix.project }}:${{ matrix.target }} --coverage.enabled
51
+ run : npx nx run ${{ matrix.project }}:${{ matrix.target }}
52
52
- name : Upload coverage reports to Codecov
53
53
uses : codecov/codecov-action@v4
54
54
with :
Original file line number Diff line number Diff line change 69
69
}
70
70
},
71
71
"unit-test" : {
72
+ "cache" : true ,
72
73
"outputs" : [
73
74
" {workspaceRoot}/coverage/{projectName}/unit-tests/lcov.info"
74
75
],
81
82
}
82
83
},
83
84
"int-test" : {
85
+ "cache" : true ,
84
86
"outputs" : [" {workspaceRoot}/coverage/{projectName}/int-tests/lcov.info" ],
85
87
"executor" : " @nx/vite:test" ,
86
88
"options" : {
You can’t perform that action at this time.
0 commit comments