Skip to content

Commit 3965f27

Browse files
authored
Merge pull request #27 from solideal/ci-patch-1
Update continuous-integration.yml
2 parents f176ace + 47fa52b commit 3965f27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
name: Send Sonarcloud analysis
3434
runs-on: ubuntu-20.04
3535
needs: [test]
36-
if: github.event_name == 'pull_request'
36+
if: github.event_name == 'pull_request' # requires Sonar only on pull request since every new code goes through it
3737
steps:
3838
- uses: actions/checkout@v2
3939
with:
@@ -45,7 +45,7 @@ jobs:
4545
deploy:
4646
name: Deploy on npm
4747
runs-on: ubuntu-20.04
48-
needs: [sonar, test]
48+
needs: test
4949
if: github.ref == 'refs/heads/master' && github.event_name == 'push' # Deploy only on the master branch and push event
5050
steps:
5151
- name: Checkout

0 commit comments

Comments
 (0)