Skip to content

Commit

Permalink
fix: lint ci checks should run in pull request as well
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjibansg committed Nov 28, 2023
1 parent 01d641a commit af4262d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Lint

on: [push]
on: [push, pull_request]

jobs:
ESLint:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"transpile": "tsc",
"transpileProto": "pbts -o src/generated/definitions.d.ts dist/generated/definitions.js",
"prepare": "npm run clean-proto && npm run proto && npm run transpileProto",
"lint": "eslint '**/*.ts' --fix",
"lint": "eslint '**/*.ts'",
"lint:fix": "npm run lint -- --fix",
"test": "$HOME/.nvm/nvm-exec jest"
},
"author": "",
Expand Down

0 comments on commit af4262d

Please sign in to comment.