This repository was archived by the owner on Nov 8, 2024. It is now read-only.
File tree 5 files changed +57
-66
lines changed
5 files changed +57
-66
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ on : push
2
+ jobs :
3
+ lint :
4
+ runs-on : ubuntu-latest
5
+ steps :
6
+ - uses : actions/checkout@v2
7
+ with :
8
+ fetch-depth : 0
9
+ - uses : actions/setup-node@v2-beta
10
+ with :
11
+ node-version : 12
12
+ - run : yarn install --frozen-lockfile --ignore-optional
13
+ - run : yarn run lint
14
+ - run : yarn run commitlint --from origin/master
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ paths-ignore :
4
+ - ' docs/**'
5
+ - ' README.md'
6
+ jobs :
7
+ test :
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ node : [8, 10, 12]
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-node@v2-beta
15
+ with :
16
+ node-version : ${{ matrix.node }}
17
+ - run : yarn install --frozen-lockfile --ignore-optional
18
+ - run : yarn test:cover
19
+ - run : |
20
+ mkdir coverage
21
+ yarn run nyc report --reporter=text-lcov > coverage/lcov.info
22
+ - uses : coverallsapp/github-action@master
23
+ with :
24
+ github-token : ${{ secrets.github_token }}
25
+ flag-name : node-${{ matrix.node }}
26
+ parallel : true
27
+
28
+ smoke-test :
29
+ runs-on : ubuntu-latest
30
+ steps :
31
+ - uses : actions/checkout@v2
32
+ - run : yarn install --frozen-lockfile --ignore-optional
33
+ - run : ./scripts/smoke.sh
34
+
35
+ coverage :
36
+ needs : [test]
37
+ runs-on : ubuntu-latest
38
+ steps :
39
+ - uses : coverallsapp/github-action@master
40
+ with :
41
+ github-token : ${{ secrets.github_token }}
42
+ parallel-finished : true
Original file line number Diff line number Diff line change 11
11
"lint" : " lerna exec --concurrency 1 --no-bail -- npm run lint" ,
12
12
"lint:fix" : " lerna exec --concurrency 1 --no-bail -- npm run lint:fix" ,
13
13
"test" : " lerna exec --concurrency 1 --no-bail -- npm run test" ,
14
- "cover" : " nyc npm test" ,
15
- "coveralls" : " nyc report --reporter=text-lcov | coveralls"
14
+ "test:cover" : " nyc npm test"
16
15
},
17
16
"devDependencies" : {
18
17
"@commitlint/cli" : " 8.3.5" ,
File renamed without changes.
You can’t perform that action at this time.
0 commit comments