Skip to content

chore(deps): update all non-major dependencies #872

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #872

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
node: [16, 18, 20]
os: [ubuntu-latest, windows-latest]
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
# the codecov uploader only runs on unix,
# frequently hangs for whatever reason,
# and we have no platform-specific code anyway…
- name: upload coverage
if: matrix.os == 'ubuntu-latest' && matrix.node == 20
timeout-minutes: 1
continue-on-error: true
run: bash <(curl -s https://codecov.io/bash) -t ${{secrets.CODECOV_TOKEN}} -B ${{ github.ref }} -f coverage/coverage-final.json
# test the minimum supported peer dependency version
- run: npm install typescript@4.5 rollup@3.0
# aka `npm test` without the `pretest/build`
- run: node .build/tests/index.js