-
-
Notifications
You must be signed in to change notification settings - Fork 182
59 lines (53 loc) · 1.29 KB
/
monorepo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
on:
push:
branches:
- feature/split
name: monorepo
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: yarn
lint:
runs-on: ubuntu-latest
needs: prepare
steps:
- run: ./node_modules/.bin/lerna run lint
# test:
# runs-on: ubuntu-latest
# needs: prepare
# steps:
# - run: ./node_modules/.bin/lerna run test -- --coverage
# coveralls:
# runs-on: ubuntu-latest
# needs: test
# strategy:
# matrix:
# package:
# - signpdf
# - utils
# - placeholder-pdfkit010
# - placeholder-plain
# steps:
# - name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# parallel: true
# flag-name: coveralls-$
# github-token: ${{ secrets.GITHUB_TOKEN }}
# base-path: packages/$
# finish:
# needs:
# - lint
# - test
# - coveralls
# if: $
# runs-on: ubuntu-latest
# steps:
# - name: Close Coveralls
# uses: coverallsapp/github-action@master
# with:
# parallel-finished: true
# carryforward: "coveralls-signpdf,coveralls-utils,coveralls-placeholder-pdfkit010,coveralls-placeholder-plain"