Skip to content

Commit ddab1e9

Browse files
committed
chore: update CI workflow to specify paths for triggering builds on push and pull request events
- Added specific paths to the CI configuration to ensure builds are triggered only for relevant changes - This improves efficiency by reducing unnecessary CI runs
1 parent 083dd5f commit ddab1e9

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,40 @@ name: CI
33
on:
44
push:
55
branches: [main, develop]
6+
paths:
7+
- 'apps/**'
8+
- 'packages/**'
9+
- 'scripts/**'
10+
- 'package.json'
11+
- 'pnpm-workspace.yaml'
12+
- 'pnpm-lock.yaml'
13+
- 'tsconfig*.json'
14+
- 'vite.config.*'
15+
- 'vitest.config.*'
16+
- 'playwright.config.*'
17+
- 'tailwind.config.*'
18+
- 'next.config.*'
19+
- 'docker-compose*.yml'
20+
- 'Dockerfile*'
21+
- '.github/workflows/**'
622
pull_request:
723
branches: [main, develop]
24+
paths:
25+
- 'apps/**'
26+
- 'packages/**'
27+
- 'scripts/**'
28+
- 'package.json'
29+
- 'pnpm-workspace.yaml'
30+
- 'pnpm-lock.yaml'
31+
- 'tsconfig*.json'
32+
- 'vite.config.*'
33+
- 'vitest.config.*'
34+
- 'playwright.config.*'
35+
- 'tailwind.config.*'
36+
- 'next.config.*'
37+
- 'docker-compose*.yml'
38+
- 'Dockerfile*'
39+
- '.github/workflows/**'
840

941
jobs:
1042
test:

0 commit comments

Comments
 (0)