Skip to content

Commit

Permalink
chore: simplify CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Jun 29, 2020
1 parent 74ab620 commit b4f43c0
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/ci.yml
Expand Up @@ -8,24 +8,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nodejs: [6, 8, 10, 12, 14]
nodejs: [6, 12]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.nodejs }}

- name: Install
run: |
npm install
- name: Test w/ Coverage
run: npm test

- name: Report
if: matrix.nodejs >= 14
run: |
nyc report --reporter=text-lcov > coverage.lcov
bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- run: npm install
- run: npm test

0 comments on commit b4f43c0

Please sign in to comment.