Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Lint affected projects
run: npx nx affected:lint --parallel=3
run: npx nx affected -t lint --parallel=3

unit-test:
strategy:
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Unit test affected projects
run: npx nx affected -t unit-test --parallel=3 --coverage.enabled
run: npx nx affected -t unit-test --parallel=3

integration-test:
strategy:
Expand All @@ -97,7 +97,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Integration test affected projects
run: npx nx affected -t int-test --parallel=3 --coverage.enabled
run: npx nx affected -t int-test --parallel=3

e2e:
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Execute tests with coverage
run: npx nx run ${{ matrix.project }}:${{ matrix.target }} --coverage.enabled
run: npx nx run ${{ matrix.project }}:${{ matrix.target }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
}
},
"unit-test": {
"cache": true,
"outputs": [
"{workspaceRoot}/coverage/{projectName}/unit-tests/lcov.info"
],
Expand All @@ -81,6 +82,7 @@
}
},
"int-test": {
"cache": true,
"outputs": ["{workspaceRoot}/coverage/{projectName}/int-tests/lcov.info"],
"executor": "@nx/vite:test",
"options": {
Expand Down
Loading