File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,13 @@ jobs:
28
28
with :
29
29
name : build
30
30
path : |
31
+ ${{ github.workspace }}/packages/**/build
31
32
${{ github.workspace }}/packages/**/dist
32
33
${{ github.workspace }}/packages/**/esm
33
34
34
35
job_2 :
35
36
name : Lint
37
+ needs : job_1
36
38
runs-on : ubuntu-latest
37
39
steps :
38
40
- uses : actions/checkout@v2
47
49
- uses : actions/download-artifact@v2
48
50
- name : Run Linter
49
51
run : yarn lint
52
+
53
+ job_3 :
54
+ name : Test
55
+ needs : job_1
56
+ runs-on : ubuntu-latest
57
+ steps :
58
+ - uses : actions/checkout@v2
59
+ - uses : actions/setup-node@v1
60
+ - uses : actions/cache@v2
61
+ with :
62
+ path : |
63
+ node_modules
64
+ */*/node_modules
65
+ key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
66
+ - run : yarn install
67
+ - uses : actions/download-artifact@v2
68
+ - name : Unit Tests
69
+ run : yarn test
You can’t perform that action at this time.
0 commit comments