Skip to content

Commit

Permalink
ci(lefthook): skip steps if they are not neecesary
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed Aug 14, 2024
1 parent 78482ec commit ced882b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ pre-push:
parallel: true
commands:
js-test:
glob: "**/*.{js,jsx,ts,tsx}"
run: npm run test
rust-test:
glob: "**/*.rs"
run: cargo test

0 comments on commit ced882b

Please sign in to comment.