Skip to content

Commit 746416b

Browse files
authored
Build on pull requests
1 parent be716d9 commit 746416b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: CI
33
on:
44
push:
55
branches: [main]
6+
pull_request:
7+
branches: [main]
68

79
jobs:
810
test:
@@ -32,6 +34,9 @@ jobs:
3234

3335
release:
3436
runs-on: ubuntu-latest
37+
if:
38+
${{ github.repository == 'testing-library/svelte-testing-library' &&
39+
github.ref == 'refs/heads/main' && github.event_name == 'push' }}
3540

3641
steps:
3742
- name: Cancel previous runs

0 commit comments

Comments
 (0)