Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
codesankalp committed Mar 14, 2021
1 parent 46387d7 commit 8f2a593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/qa-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
run: npm install

- name: Linters and Formatters Check
uses: wearerequired/lint-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Enable linters
eslint: true
prettier: true
run: |
npm run lint
npm run check
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"eject": "react-scripts eject",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"**/*.+(js|jsx|json|css|md)\""
"format": "prettier --write \"**/*.+(js|jsx|json|css|md)\"",
"check": "prettier -c \"**/*.+(js|jsx|json|css|md)\""
},
"browserslist": {
"production": [
Expand Down

0 comments on commit 8f2a593

Please sign in to comment.