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 4949 - name : Install dependencies
5050 run : npm ci
5151 - name : Lint affected projects
52- run : npx nx affected: lint --parallel=3
52+ run : npx nx affected -t lint --parallel=3
5353
5454 unit-test :
5555 strategy :
7373 - name : Install dependencies
7474 run : npm ci
7575 - 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
7777
7878 integration-test :
7979 strategy :
9797 - name : Install dependencies
9898 run : npm ci
9999 - 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
101101
102102 e2e :
103103 strategy :
Original file line number Diff line number Diff line change 4848 - name : Install dependencies
4949 run : npm ci
5050 - 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 }}
5252 - name : Upload coverage reports to Codecov
5353 uses : codecov/codecov-action@v4
5454 with :
Original file line number Diff line number Diff line change 6969 }
7070 },
7171 "unit-test" : {
72+ "cache" : true ,
7273 "outputs" : [
7374 " {workspaceRoot}/coverage/{projectName}/unit-tests/lcov.info"
7475 ],
8182 }
8283 },
8384 "int-test" : {
85+ "cache" : true ,
8486 "outputs" : [" {workspaceRoot}/coverage/{projectName}/int-tests/lcov.info" ],
8587 "executor" : " @nx/vite:test" ,
8688 "options" : {
You can’t perform that action at this time.
0 commit comments