File tree 2 files changed +26
-7
lines changed
2 files changed +26
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : on-pull-request
2
+ on :
3
+ pull_request
4
+
5
+ jobs :
6
+ on_push :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - name : Install packages
11
+ run : |
12
+ export NODE_ENV=dev
13
+ npm ci
14
+ npm run lerna-ci
15
+ - name : Run lint
16
+ run : npm run lerna-lint
17
+ - name : Run tests
18
+ run : npm run lerna-test
19
+ - name : Report Coverage
20
+ if : ${{ github.actor != 'dependabot[bot]' }}
21
+
22
+ with :
23
+ github-token : ${{ secrets.GITHUB_TOKEN }}
24
+ lcov-file : ./packages/logger/coverage/lcov.info
Original file line number Diff line number Diff line change 5
5
jobs :
6
6
on_push :
7
7
runs-on : ubuntu-latest
8
+ if : ${{ github.event_name != 'pull_request' }}
8
9
steps :
9
10
- uses : actions/checkout@v2
10
11
- name : Install packages
15
16
- name : Run lint
16
17
run : npm run lerna-lint
17
18
- name : Run tests
18
- run : npm run lerna-test
19
- - name : Report Coverage
20
- if : ${{ github.event_name == 'pull_request' }}
21
-
22
- with :
23
- github-token : ${{ secrets.GITHUB_TOKEN }}
24
- lcov-file : ./packages/logger/coverage/lcov.info
19
+ run : npm run lerna-test
You can’t perform that action at this time.
0 commit comments