Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,31 @@ name: Tests
on: [push, pull_request]

jobs:
build:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'yarn'

- name: Install dependencies
run: yarn --frozen-lockfile --non-interactive --prefer-offline

- name: Lint
run: yarn lint

test:
needs: lint
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [20.x, 22.x, 24.x]
Comment thread
MaxLeiter marked this conversation as resolved.

steps:
- uses: actions/checkout@v4
Expand All @@ -24,7 +42,4 @@ jobs:
run: yarn --frozen-lockfile --non-interactive --prefer-offline

- name: Test
run: yarn test

- name: Lint
run: yarn lint
run: yarn coverage
Loading