Skip to content

Commit 22ac00d

Browse files
committed
added madge and CI check
1 parent f92e78f commit 22ac00d

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
@@ -17,6 +17,25 @@ jobs:
1717
uses: mansona/npm-lockfile-version@v1
1818
with:
1919
version: 1
20+
check-circular:
21+
name: Circular Dependencies
22+
timeout-minutes: 5
23+
runs-on: ubuntu-18.04
24+
steps:
25+
- uses: actions/checkout@v2
26+
- name: Use Node.js
27+
uses: actions/setup-node@v1
28+
with:
29+
node-version: '10.14'
30+
- name: Cache Node.js modules
31+
uses: actions/cache@v2
32+
with:
33+
path: ~/.npm
34+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
35+
restore-keys: |
36+
${{ runner.os }}-node-
37+
- run: npm ci
38+
- run: npm run madge:circular
2039
build:
2140
runs-on: ubuntu-18.04
2241
timeout-minutes: 30

0 commit comments

Comments
 (0)