From aaeeb3398db86623e3b79b58a2ea31770e4bafde Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Wed, 6 Sep 2023 09:31:49 -0700 Subject: [PATCH] chore(ci): update pnpm and matrix versions --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 007cc3a..c81e4b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,20 +22,20 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - nodejs: [10, 12, 14] + nodejs: [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 }} - name: (env) pnpm - if: matrix.nodejs < 12 + if: matrix.nodejs < 14 run: npm install -g pnpm@5 # supports Node 10.x - name: (env) pnpm - if: matrix.nodejs >= 12 + if: matrix.nodejs >= 14 run: curl -L https://pnpm.js.org/pnpm.js | node - add --global pnpm - name: (env) cache @@ -57,7 +57,7 @@ jobs: run: nyc --include=packages pnpm test - name: Report - if: matrix.nodejs >= 12 + if: matrix.nodejs >= 14 run: | nyc report --reporter=text-lcov > coverage.lcov bash <(curl -s https://codecov.io/bash)