Skip to content

Commit

Permalink
run prettier -c as a lint step
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoDF committed Sep 10, 2023
1 parent 44d94bd commit 47b0d81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
run: |
npm ci
# npm run build
npm run lint
npm test
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"type": "module",
"scripts": {
"test": "node --test",
"lint": "npm run format -- -c",
"format": "prettier --write './**/*.{js,json,yml,md}'"
},
"license": "MIT",
Expand Down

0 comments on commit 47b0d81

Please sign in to comment.