Skip to content

Commit

Permalink
fix(action): remove lerna steps
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed May 30, 2020
1 parent 64af363 commit 883363b
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,29 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nodejs: [10, 12]
nodejs: [6, 8, 10, 12]
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1

- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.nodejs }}

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

- name: (lerna) restore
- name: (cache) restore
uses: actions/cache@master
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('package.json') }}

- name: Install
run: |
pnpm install
pnpm add -g nyc
- name: Build
run: pnpm run build

- name: Test w/ Coverage
run: nyc --include=packages pnpm test
run: nyc --include=src pnpm test

- name: Report
if: matrix.nodejs >= 12
Expand Down

0 comments on commit 883363b

Please sign in to comment.