diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 395fbde..95f7cb4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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