Skip to content

Commit 51f942b

Browse files
authored
Update jest.yml
1 parent 61c066f commit 51f942b

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/jest.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
# Branches from forks have the form 'user:branch-name' so we only run
7+
# this job on pull_request events for branches that look like fork
8+
# branches. Without this we would end up running this job twice for non
9+
# forked PRs, once for the push and then once for opening the PR.
10+
branches:
11+
- '**:**'
412

513
jobs:
614
jest:

0 commit comments

Comments
 (0)