Skip to content

Commit

Permalink
chore(ci): update pnpm and matrix versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Sep 6, 2023
1 parent ce5f91b commit aaeeb33
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit aaeeb33

Please sign in to comment.