Skip to content

Commit 5bd7d86

Browse files
fix: ci setting
1 parent db4a4bd commit 5bd7d86

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,31 @@ jobs:
1212
- uses: actions/checkout@v1
1313
with:
1414
fetch-depth: 1
15-
if: github.event_name == "pull_request" || github.ref == "refs/heads/master"
15+
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master'
1616
- name: Install Package dependencies
1717
run: yarn install
18-
if: github.event_name == "pull_request" || github.ref == "refs/heads/master"
18+
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master'
1919
- name: Run tests
2020
run: yarn cover
21-
if: github.event_name == "pull_request" || github.ref == "refs/heads/master"
21+
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master'
2222
- name: Send covarage
2323
run: yarn add coveralls && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
2424
env:
2525
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
2626
COVERALLS_SERVICE_NAME: "GitHub Action"
2727
COVERALLS_SERVICE_JOB_ID: ${{ github.sha }}
28-
if: github.event_name == "pull_request" || github.ref == "refs/heads/master"
28+
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master'
2929
- uses: 8398a7/action-slack@v1
3030
with:
3131
type: failure
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
35-
if: (github.event_name == "pull_request" || github.ref == "refs/heads/master") && failure()
35+
if: (github.event_name == 'pull_request' || github.ref == 'refs/heads/master') && failure()
3636
- uses: 8398a7/action-slack@v1
3737
with:
3838
type: success
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
42-
if: (github.event_name == "pull_request" || github.ref == "refs/heads/master") && success()
42+
if: (github.event_name == 'pull_request' || github.ref == 'refs/heads/master') && success()

0 commit comments

Comments
 (0)