chore: run ts/js ci only on relevant files
This commit is contained in:
parent
9324c74569
commit
9b825597d0
|
@ -1,8 +1,24 @@
|
||||||
name: JS/TS checks
|
name: JS/TS checks
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "**.tsx?"
|
||||||
|
- "**.jsx?"
|
||||||
|
- "**.json"
|
||||||
|
- "**.sol"
|
||||||
|
- "**/package.json"
|
||||||
|
- "**/package-lock.json"
|
||||||
|
- "**/tsconfig.json"
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- "**.tsx?"
|
||||||
|
- "**.jsx?"
|
||||||
|
- "**.json"
|
||||||
|
- "**.sol"
|
||||||
|
- "**/package.json"
|
||||||
|
- "**/package-lock.json"
|
||||||
|
- "**/tsconfig.json"
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue