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
29 changes: 29 additions & 0 deletions .github/workflows/circular-dependency-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Check for cycles in modules

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
cyclesCheck:
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

# Set up Node
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18

# Run install dependencies
- name: Install dependencies
run: npm ci

- name: Check cycles
run : npm run check-cycles
Loading