We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c4056 commit 0900f8cCopy full SHA for 0900f8c
.github/workflows/ci.yaml
@@ -3,7 +3,9 @@
3
4
name: CI/CD
5
6
-on: push
+on:
7
+ push:
8
+ pull_request:
9
10
jobs:
11
ci:
@@ -30,8 +32,9 @@ jobs:
30
32
run: npm run build --if-present
31
33
- name: Test
34
run: npm run test --if-present
- cd:
- if: startsWith(github.ref, 'refs/tags/v')
35
+
36
+ deploy:
37
+ if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
38
needs: ci
39
runs-on: ubuntu-latest
40
timeout-minutes: 10
0 commit comments