File tree Expand file tree Collapse file tree 2 files changed +29
-20
lines changed Expand file tree Collapse file tree 2 files changed +29
-20
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
9
9
jobs :
10
- job_1 :
10
+ job_build :
11
11
name : Build
12
12
runs-on : ubuntu-latest
13
13
steps :
32
32
${{ github.workspace }}/packages/**/dist
33
33
${{ github.workspace }}/packages/**/esm
34
34
35
- job_2 :
35
+ job_size_check :
36
+ name : Size Check
37
+ needs : job_build
38
+ runs-on : ubuntu-latest
39
+ steps :
40
+ - uses : actions/checkout@v2
41
+ - uses : actions/setup-node@v1
42
+ - uses : actions/cache@v2
43
+ with :
44
+ path : |
45
+ node_modules
46
+ */*/node_modules
47
+ key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
48
+ - run : yarn install
49
+ - uses : actions/download-artifact@v2
50
+ with :
51
+ name : build
52
+ path : ${{ github.workspace }}/packages
53
+ -
uses :
andresz1/[email protected]
54
+ with :
55
+ github_token : ${{ secrets.GITHUB_TOKEN }}
56
+ build_script : echo "doing nothing"
57
+ skip_step : install
58
+
59
+ job_lint :
36
60
name : Lint
37
- needs : job_1
61
+ needs : job_build
38
62
runs-on : ubuntu-latest
39
63
steps :
40
64
- uses : actions/checkout@v2
53
77
- name : Run Linter
54
78
run : yarn lint
55
79
56
- job_3 :
80
+ job_unit_test :
57
81
name : Test
58
- needs : job_1
82
+ needs : job_build
59
83
runs-on : ubuntu-latest
60
84
steps :
61
85
- uses : actions/checkout@v2
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments