Skip to content

Commit

Permalink
chore: run pretty cherck in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlah committed Jan 22, 2024
1 parent ab903f3 commit e5909b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm run pretty:check
- run: npm ci
- run: npm run build --if-present
- run: npm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"build": "npm run test && webpack --mode production && tsc -p ./tsconfig.build.json",
"lint": "eslint --config .eslintrc.json --ignore-path .eslintignore ./src/**/*.ts --fix",
"test": "jest ./test/**",
"prepare": "husky install"
"prepare": "husky install",
"pretty:check": "prettier . -c"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e5909b9

Please sign in to comment.