diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 783809b2..9eb08ed5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,16 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - node: [10, 12, 14] + node: [12, 14] runs-on: ${{ matrix.os }} steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.8.0 + with: + access_token: ${{ github.token }} - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} - name: Print Node Version @@ -34,5 +38,5 @@ jobs: - name: Run Tests run: yarn test - name: Coverage - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-latest' && matrix.node == 14 # only run once run: yarn test-coverage diff --git a/package.json b/package.json index 5114cb3f..6fd6151a 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "bytes": "^3.0.0", "canvas": "^2.2.0", "chromeless": "^1.5.2", - "codecov": "^3.6.5", + "codecov": "^3.8.1", "consolidate": "^0.15.1", "copy": "^0.3.2", "core-js": "^2.5.7", diff --git a/yarn.lock b/yarn.lock index c72efe2d..e1199c7a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4000,7 +4000,7 @@ code-point-at@^1.0.0: resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= -codecov@^3.6.5: +codecov@^3.8.1: version "3.8.1" resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.8.1.tgz#06fe026b75525ed1ce864d4a34f1010c52c51546" integrity sha512-Qm7ltx1pzLPsliZY81jyaQ80dcNR4/JpcX0IHCIWrHBXgseySqbdbYfkdiXd7o/xmzQpGRVCKGYeTrHUpn6Dcw==