Skip to content

Commit 588dc00

Browse files
authored
fix(ci): add path filters to build workflow (#85)
1 parent b240bd9 commit 588dc00

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,25 @@ on:
55
pull_request:
66
branches:
77
- main
8+
paths:
9+
- 'src/**'
10+
- '__tests__/**'
11+
- 'package.json'
12+
- 'package-lock.json'
13+
- 'tsconfig.json'
14+
- 'action.yml'
15+
- '.github/workflows/build.yml'
816
push:
917
branches:
1018
- main
19+
paths:
20+
- 'src/**'
21+
- '__tests__/**'
22+
- 'package.json'
23+
- 'package-lock.json'
24+
- 'tsconfig.json'
25+
- 'action.yml'
26+
- '.github/workflows/build.yml'
1127

1228
jobs:
1329
build:

0 commit comments

Comments
 (0)