Merge remote-tracking branch 'origin/next' into compare-files #141
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Circular dependencies | |
on: [push, pull_request] | |
jobs: | |
circular-deps: | |
runs-on: ubuntu-latest | |
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]') | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
- run: | | |
npm install -g yarn | |
yarn install --frozen-lockfile | |
- name: Run madge to check for circular dependencies | |
run: yarn madge |