Skip to content

Update dependency @types/node to v22 #582

Update dependency @types/node to v22

Update dependency @types/node to v22 #582

Workflow file for this run

name: CI
on: push
jobs:
build:
strategy:
matrix:
node: [10, 16]
os:
- ubuntu-latest
# windows is currently disabled, because I have no idea how to override the default
# language and timezone, that the `npm test` script tries to do…
#- windows-latest
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
env:
CI: true
# 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 == 16
timeout-minutes: 1
run: bash <(curl -s https://codecov.io/bash) -t ${{secrets.CODECOV_TOKEN}} -B ${{ github.ref }} -f coverage/coverage-final.json