@@ -12,31 +12,31 @@ jobs:
12
12
- uses : actions/checkout@v1
13
13
with :
14
14
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'
16
16
- name : Install Package dependencies
17
17
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'
19
19
- name : Run tests
20
20
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'
22
22
- name : Send covarage
23
23
run : yarn add coveralls && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
24
24
env :
25
25
COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
26
26
COVERALLS_SERVICE_NAME : " GitHub Action"
27
27
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'
29
29
- uses : 8398a7/action-slack@v1
30
30
with :
31
31
type : failure
32
32
env :
33
33
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
34
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()
36
36
- uses : 8398a7/action-slack@v1
37
37
with :
38
38
type : success
39
39
env :
40
40
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
41
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