Skip to content

Commit 0900f8c

Browse files
author
Github Action
committed
File sync from domdomegg/domdomegg
1 parent a2c4056 commit 0900f8c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
name: CI/CD
55

6-
on: push
6+
on:
7+
push:
8+
pull_request:
79

810
jobs:
911
ci:
@@ -30,8 +32,9 @@ jobs:
3032
run: npm run build --if-present
3133
- name: Test
3234
run: npm run test --if-present
33-
cd:
34-
if: startsWith(github.ref, 'refs/tags/v')
35+
36+
deploy:
37+
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
3538
needs: ci
3639
runs-on: ubuntu-latest
3740
timeout-minutes: 10

0 commit comments

Comments
 (0)