Skip to content

Commit

Permalink
chore: pull upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Apr 24, 2023
2 parents 2b53e81 + 1879a3e commit eb1ccce
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,37 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nodejs: [10, 12, 14, 16]
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
run: curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | node
- uses: pnpm/action-setup@v2.2.4
with:
version: 5
run_install: false

- name: Install
run: pnpm install

- name: (coverage) Install
if: matrix.nodejs >= 16
if: matrix.nodejs >= 18
run: pnpm add -g c8

- name: Build
run: pnpm run build

- name: Test
if: matrix.nodejs < 16
if: matrix.nodejs < 18
run: pnpm test

- name: (coverage) Test
if: matrix.nodejs >= 16
if: matrix.nodejs >= 18
run: c8 --include=packages pnpm test

- name: (coverage) Report
if: matrix.nodejs >= 16
if: matrix.nodejs >= 18
run: |
c8 report --reporter=text-lcov > coverage.lcov
bash <(curl -s https://codecov.io/bash)
Expand Down

0 comments on commit eb1ccce

Please sign in to comment.