Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
fix: добавление проверки на рекурсивные зависимости в pull-request и …
Browse files Browse the repository at this point in the history
…в check
  • Loading branch information
ko22009 committed Sep 5, 2023
1 parent 34027d3 commit 20f5f51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: Install dependencies
run: yarn --immutable
- name: Run checks
run: yarn concurrently "yarn test" "yarn eslint" "yarn tslint" "yarn prettier" --raw
run: yarn concurrently "yarn test" "yarn eslint-recursive" "yarn tslint" "yarn prettier" --raw
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
"build": "tsc -p tsconfig.prod.json && vite build",
"serve": "vite preview",
"eslint": "eslint **/*.{ts,tsx}",
"eslint-recursive": "yarn eslint --rule \"{import/no-cycle: error}\"",
"tslint": "tsc --noEmit",
"prettier": "prettier --loglevel warn \"**/*.{ts,tsx}\" --check --cache-location=.yarn/.prettier",
"lint": "concurrently \"yarn eslint\" \"yarn tslint\" \"yarn prettier\" --raw",
"check": "concurrently \"yarn test\" \"yarn eslint\" \"yarn tslint\" \"yarn prettier\" --raw",
"check": "concurrently \"yarn test\" \"yarn eslint-recursive\" \"yarn tslint\" \"yarn prettier\" --raw",
"test": "vitest run",
"test:watch": "vitest",
"release": "release-it"
Expand Down

0 comments on commit 20f5f51

Please sign in to comment.