Skip to content

Commit

Permalink
Merge pull request #2090 from Hyperkid123/nx
Browse files Browse the repository at this point in the history
Add circular import detection executor
  • Loading branch information
Hyperkid123 authored Oct 29, 2024
2 parents 8e0837d + 8b28fa9 commit 2f00ab4
Show file tree
Hide file tree
Showing 36 changed files with 1,257 additions and 79 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,19 @@ jobs:
shell: bash
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
check-circular-imports:
runs-on: ubuntu-latest
needs: install
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: './.github/actions/cache'
- name: install
shell: bash
run: npm i
- uses: nrwl/nx-set-shas@v4
- uses: './.github/actions/cache'
- name: Check circular imports
run: npx nx affected -t test:circular-dependencies --exclude=demo
Loading

0 comments on commit 2f00ab4

Please sign in to comment.