Skip to content

Commit effa56d

Browse files
committed
added madge and CI check
1 parent 52cd8d4 commit effa56d

File tree

3 files changed

+993
-8
lines changed

3 files changed

+993
-8
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ on:
77
branches:
88
- '**'
99
jobs:
10+
check-circular:
11+
name: Circular Dependencies
12+
timeout-minutes: 5
13+
runs-on: ubuntu-18.04
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: '10.14'
20+
- name: Cache Node.js modules
21+
uses: actions/cache@v2
22+
with:
23+
path: ~/.npm
24+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25+
restore-keys: |
26+
${{ runner.os }}-node-
27+
- run: npm ci
28+
- run: npm run madge:circular
1029
build:
1130
runs-on: ubuntu-18.04
1231
timeout-minutes: 30

0 commit comments

Comments
 (0)