Skip to content

Commit

Permalink
Add lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
hieu-w committed Dec 30, 2024
1 parent 0a831d5 commit 3e44af5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Install dependencies
run: npm install

- name: Run lint
run: npm run lint

- name: Run build
run: npm run build

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: Install dependencies
run: npm install

- name: Run lint
run: npm run lint

- name: Run build
run: npm run build

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"sideEffects": false,
"scripts": {
"build": "torus-scripts build",
"lint": "eslint --fix 'src/**/*.ts'",
"release": "torus-scripts release",
"test:ci": "npm run test:node && npm run test:browsers",
"test:node": "vitest run --config test/config/node.config.mts --coverage",
Expand Down

0 comments on commit 3e44af5

Please sign in to comment.