Skip to content

Commit 13114e1

Browse files
[build] Only run JS workflow when there is a JS or dependency change
1 parent 094ca6e commit 13114e1

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/javascript.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,25 @@ on:
44
push:
55
branches:
66
- trunk
7+
paths:
8+
- .bazel*
9+
- .github/actions/**
10+
- .github/workflows/javascript.yml
11+
- javascript/**
12+
- common/**
13+
- package.json
14+
- package-lock.json
715
pull_request:
816
branches:
917
- trunk
10-
18+
paths:
19+
- .bazel*
20+
- .github/actions/**
21+
- .github/workflows/javascript.yml
22+
- javascript/**
23+
- common/**
24+
- package.json
25+
- package-lock.json
1126
jobs:
1227
node_tests:
1328
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)