From 3a4c04bb3b1452e6a5c47d6223eb7a203fcfcb42 Mon Sep 17 00:00:00 2001 From: Rocktim Saikia Date: Sun, 25 Aug 2024 11:14:34 +0530 Subject: [PATCH] ci: update workflows to run on specific path changes --- .github/workflows/deploy.yml | 5 +++++ .github/workflows/tests.yml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b6557fb..ba5bbed 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,11 @@ on: push: branches: - main + paths: + - 'server/**/*.ts' + - 'client/**/*.ts' + - 'client/**/*.tsx' + - 'deploy.sh' jobs: deploy: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 502a2ef..89f1ac0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,6 +5,9 @@ on: branches: [main] pull_request: branches: [main] + paths: + - 'server/**/*.ts' + - 'server/test/**' jobs: build: