Skip to content

Commit 4e0f46d

Browse files
committed
Skip tests for draft PR
1 parent 571c15a commit 4e0f46d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name: Build & Test
33
on:
44
pull_request:
55
branches: [main]
6+
types: [opened, synchronize, reopened, ready_for_review]
7+
paths:
8+
- "**.js"
9+
- "**.ts"
10+
- "**.json"
611

712
jobs:
813
main:
9-
if: ${{ !github.event.pull_request.draft }}
1014
name: "Build & Test"
1115
runs-on: ubuntu-latest
1216
container:

0 commit comments

Comments
 (0)