Skip to content

Commit 883363b

Browse files
committedMay 30, 2020
fix(action): remove lerna steps
1 parent 64af363 commit 883363b

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed
 

‎.github/workflows/ci.yml

+6-14
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,29 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
nodejs: [10, 12]
11+
nodejs: [6, 8, 10, 12]
1212
steps:
13-
- uses: actions/checkout@master
14-
with:
15-
fetch-depth: 1
16-
13+
- uses: actions/checkout@v1
1714
- uses: actions/setup-node@v1
1815
with:
1916
node-version: ${{ matrix.nodejs }}
2017

2118
- name: (env) pnpm
2219
run: curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | node
2320

24-
- name: (lerna) restore
21+
- name: (cache) restore
2522
uses: actions/cache@master
2623
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') }}
3126

3227
- name: Install
3328
run: |
3429
pnpm install
3530
pnpm add -g nyc
3631
37-
- name: Build
38-
run: pnpm run build
39-
4032
- name: Test w/ Coverage
41-
run: nyc --include=packages pnpm test
33+
run: nyc --include=src pnpm test
4234

4335
- name: Report
4436
if: matrix.nodejs >= 12

0 commit comments

Comments
 (0)
Please sign in to comment.