Skip to content

Context7 Platform -- Up-to-date docs for AI agents

trigger the Test workflow only when they touch packages/** or the root files that affect the toolchain (#2747)

Enes Gules1f6212baa889
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9afa6a9c..19680955 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -2,6 +2,15 @@ name: Test
on:
pull_request:
+ paths:
+ - "packages/**"
+ - "package.json"
+ - "pnpm-lock.yaml"
+ - "pnpm-workspace.yaml"
+ - "tsconfig.json"
+ - "eslint.config.js"
+ - "prettier.config.mjs"
+ - ".github/workflows/test.yml"
push:
branches: [master]
workflow_dispatch: