Update dependency @types/node to v22 #582
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 | |
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 |