File tree 1 file changed +6
-14
lines changed
1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
strategy :
10
10
matrix :
11
- nodejs : [10, 12]
11
+ nodejs : [6, 8, 10, 12]
12
12
steps :
13
- - uses : actions/checkout@master
14
- with :
15
- fetch-depth : 1
16
-
13
+ - uses : actions/checkout@v1
17
14
- uses : actions/setup-node@v1
18
15
with :
19
16
node-version : ${{ matrix.nodejs }}
20
17
21
18
- name : (env) pnpm
22
19
run : curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | node
23
20
24
- - name : (lerna ) restore
21
+ - name : (cache ) restore
25
22
uses : actions/cache@master
26
23
with :
27
- path : |
28
- node_modules
29
- */*/node_modules
30
- key : ${{ runner.os }}-${{ hashFiles('**/package.json') }}
24
+ path : node_modules
25
+ key : ${{ runner.os }}-${{ hashFiles('package.json') }}
31
26
32
27
- name : Install
33
28
run : |
34
29
pnpm install
35
30
pnpm add -g nyc
36
31
37
- - name : Build
38
- run : pnpm run build
39
-
40
32
- name : Test w/ Coverage
41
- run : nyc --include=packages pnpm test
33
+ run : nyc --include=src pnpm test
42
34
43
35
- name : Report
44
36
if : matrix.nodejs >= 12
You can’t perform that action at this time.
0 commit comments