chore: run ts/js ci only on relevant files

This commit is contained in:
Ali Behjati 2023-09-29 16:34:00 +02:00
parent 9324c74569
commit 9b825597d0
1 changed files with 16 additions and 0 deletions

View File

@ -1,8 +1,24 @@
name: JS/TS checks
on:
pull_request:
paths:
- "**.tsx?"
- "**.jsx?"
- "**.json"
- "**.sol"
- "**/package.json"
- "**/package-lock.json"
- "**/tsconfig.json"
push:
branches: [main]
paths:
- "**.tsx?"
- "**.jsx?"
- "**.json"
- "**.sol"
- "**/package.json"
- "**/package-lock.json"
- "**/tsconfig.json"
jobs:
test:
runs-on: ubuntu-latest