From 308a2387b82219350d232832228cc108a6ea255b Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Fri, 29 Dec 2023 09:33:18 -0800 Subject: [PATCH] chore(ci): update node matrix --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c44357..aa14e9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - nodejs: [8, 10, 12, 14, 16] + nodejs: [8, 10, 12, 14, 16, 18] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.nodejs }} @@ -25,7 +25,7 @@ jobs: run: npm install - name: (coverage) Install - if: matrix.nodejs >= 16 + if: matrix.nodejs >= 18 run: npm install -g nyc - name: Build @@ -33,14 +33,14 @@ jobs: - name: Test run: npm test - if: matrix.nodejs < 16 + if: matrix.nodejs < 18 - name: (coverage) Test run: nyc --include=src npm test - if: matrix.nodejs >= 16 + if: matrix.nodejs >= 18 - name: (coverage) Report - if: matrix.nodejs >= 16 + if: matrix.nodejs >= 18 run: | nyc report --reporter=text-lcov > coverage.lcov bash <(curl -s https://codecov.io/bash)