Skip to content

Commit 202633a

Browse files
authored
ci: also trigger ci with pull requests
1 parent 4b4595a commit 202633a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: CI
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
48

59
jobs:
610
unit:
@@ -30,4 +34,4 @@ jobs:
3034
run: npm run lint
3135

3236
- name: ✅ Run tests
33-
run: npm run test
37+
run: npm run test

0 commit comments

Comments
 (0)