Skip to content

Commit

Permalink
Merge pull request #27 from solideal/ci-patch-1
Browse files Browse the repository at this point in the history
Update continuous-integration.yml
  • Loading branch information
YuukanOO authored Sep 15, 2020
2 parents f176ace + 47fa52b commit 3965f27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Send Sonarcloud analysis
runs-on: ubuntu-20.04
needs: [test]
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
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -45,7 +45,7 @@ jobs:
deploy:
name: Deploy on npm
runs-on: ubuntu-20.04
needs: [sonar, test]
needs: test
if: github.ref == 'refs/heads/master' && github.event_name == 'push' # Deploy only on the master branch and push event
steps:
- name: Checkout
Expand Down

0 comments on commit 3965f27

Please sign in to comment.