Skip to content

Commit

Permalink
fix: Make code quality run through pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
matvp91 committed Oct 8, 2024
1 parent 1f71496 commit 6aba7e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Eslint
run: ./scripts/code-quality.sh eslint api
run: pnpm code-quality eslint api
- name: Check Prettier
run: ./scripts/code-quality.sh prettier-check api
run: pnpm code-quality prettier-check api
stitcher:
runs-on: ubuntu-latest
steps:
Expand All @@ -40,6 +40,6 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Eslint
run: ./scripts/code-quality.sh eslint stitcher
run: pnpm code-quality eslint stitcher
- name: Check Prettier
run: ./scripts/code-quality.sh prettier-check stitcher
run: pnpm code-quality prettier-check stitcher
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "mixwave",
"scripts": {
"dev": "./scripts/dev.sh",
"code-quality": "./scripts/code-quality.sh",
"build": "turbo build"
},
"packageManager": "[email protected]",
Expand Down

0 comments on commit 6aba7e0

Please sign in to comment.