We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4970ad2 commit 649fb29Copy full SHA for 649fb29
.github/workflows/validate.yml
@@ -21,7 +21,15 @@ jobs:
21
node-version: 18
22
23
- name: 🧹 Check code formatting with Prettier
24
- run: find . -name package.json -maxdepth 2 -type f -execdir npm run format:check ';+'
+ run: >
25
+ find . -name package.json -maxdepth 2 -type f | while read -r file; do
26
+ directory=$(dirname "$file")
27
+ cd "$directory" && npm run format:check && cd -
28
+ done
29
30
- name: 👕 Lint Node.js code with ESLint
- run: find . -name package.json -maxdepth 2 -type f -execdir npm run lint ';+'
31
32
33
34
+ cd "$directory" && npm run lint && cd -
35
0 commit comments