We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f176ace + 47fa52b commit 3965f27Copy full SHA for 3965f27
.github/workflows/continuous-integration.yml
@@ -33,7 +33,7 @@ jobs:
33
name: Send Sonarcloud analysis
34
runs-on: ubuntu-20.04
35
needs: [test]
36
- if: github.event_name == 'pull_request'
+ if: github.event_name == 'pull_request' # requires Sonar only on pull request since every new code goes through it
37
steps:
38
- uses: actions/checkout@v2
39
with:
@@ -45,7 +45,7 @@ jobs:
45
deploy:
46
name: Deploy on npm
47
48
- needs: [sonar, test]
+ needs: test
49
if: github.ref == 'refs/heads/master' && github.event_name == 'push' # Deploy only on the master branch and push event
50
51
- name: Checkout
0 commit comments