From 6dae36f2052f568a63a094cceb520d38b4aefde5 Mon Sep 17 00:00:00 2001 From: Viren070 Date: Tue, 14 Jan 2025 21:50:10 +0000 Subject: [PATCH] fix(ci): only run test build when changes are made to appropriate files --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 87dc7900..4b4cb0ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,9 +4,21 @@ on: push: branches: - main + paths: + - 'packages/**' + - 'package-lock.json' + - 'package.json' + - 'tsconfig.json' + - 'tsconfig.base.json' pull_request: branches: - main + paths: + - 'packages/**' + - 'package-lock.json' + - 'package.json' + - 'tsconfig.json' + - 'tsconfig.base.json' jobs: test: