Skip to content

Commit

Permalink
Exclude application projects
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalderipe committed Mar 26, 2024
1 parent 487d84e commit 0d93912
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ jobs:
- name: Code format
run: |
npx nx affected --target format:check lint:check
npx nx affected --target format:check lint:check --exclude tag:type:application
- name: Test types
run: |
npx nx affected --target test:type
npx nx affected --target test:type --exclude tag:type:application
- name: Test unit
run: |
npx nx affected --target test:unit
npx nx affected --target test:unit --exclude tag:type:application
- name: Test integration
run: |
npx nx affected --target test:integration
npx nx affected --target test:integration --exclude tag:type:application
- name: Test end-to-end
run: |
npx nx affected --target test:e2e
npx nx affected --target test:e2e --exclude tag:type:application
- name: Send Slack notification on failure
if: failure() && github.ref == 'refs/heads/main'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ npx nx g @nrwl/workspace:lib
# Generate an NestJS library.
npx nx g @nx/nest:library
# Generate an NestJS application.
npx nx g @nx/nest:application
npx nx g @nx/nest:application --tags type:application
```

For more information about code generation, please refer to the [NX
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@
}
}
},
"tags": []
"tags": ["type:application"]
}
2 changes: 1 addition & 1 deletion apps/devtool/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@
}
}
},
"tags": []
"tags": ["type:application"]
}
2 changes: 1 addition & 1 deletion apps/documentation/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
}
}
},
"tags": []
"tags": ["type:application"]
}
2 changes: 1 addition & 1 deletion apps/policy-engine/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@
}
}
},
"tags": []
"tags": ["type:application"]
}
2 changes: 1 addition & 1 deletion apps/vault/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@
}
}
},
"tags": []
"tags": ["type:application"]
}

0 comments on commit 0d93912

Please sign in to comment.