ソースを参照

chore: run ts/js ci only on relevant files

Ali Behjati 2 年 前
コミット
9b825597d0
1 ファイル変更16 行追加0 行削除
  1. 16 0
      .github/workflows/ci-typescript.yml

+ 16 - 0
.github/workflows/ci-typescript.yml

@@ -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