chore(deps): update all non-major dependencies #754
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |