Skip to content

Restrict compatibility to AVA 6; support Node.js 22 #91

Restrict compatibility to AVA 6; support Node.js 22

Restrict compatibility to AVA 6; support Node.js 22 #91

Workflow file for this run

name: Install and test @ava/typescript
on:
push:
branches:
- main
pull_request:
paths-ignore:
- '*.md'
jobs:
nodejs:
name: Node.js
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [^18.18, ^20.8, ^21, ^22]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install --no-audit
- run: npm test
- uses: codecov/codecov-action@v4
with:
files: coverage/lcov.info
name: ${{ matrix.os }}/${{ matrix.node-version }}