Skip to content

Fix test in Node 20

Fix test in Node 20 #3

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CI: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Lint files
run: yarn lint
- name: Run tests
run: yarn ava