Skip to content

Commit

Permalink
Add linting to pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Zabil Cheriya Maliackal <[email protected]>
  • Loading branch information
zabil committed Aug 23, 2024
1 parent dc58093 commit 01acd19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/taiko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
libasound-dev
- name: unit-tests
run: |
npm run lint:check
npm test
functional-tests:
Expand Down
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"types": "./types/taiko/index.d.ts",
"scripts": {
"lint:check": "npx @biomejs/biome check ./",
"lint:fix": "npx @biomejs/biome check --write ./",
"lint:check": "npx @biomejs/biome check",
"lint:fix": "npx @biomejs/biome check --write",
"doc": "npm run doc:api && eleventy",
"doc:serve": "npm run doc:api && eleventy --serve",
"doc:api": "node lib/documentation.js",
Expand All @@ -36,10 +36,7 @@
"headless-browser"
],
"lint-staged": {
"**/*.{js,ts}": [
"npm run lint",
"git add"
]
"**/*.{js,ts}": ["npm run lint:fix", "git add"]
},
"taiko": {
"browser": {
Expand Down

0 comments on commit 01acd19

Please sign in to comment.