Skip to content

ci: bump actions/setup-node from 4 to 5 #133

ci: bump actions/setup-node from 4 to 5

ci: bump actions/setup-node from 4 to 5 #133

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x, 24.x]
react-version: [17.x, 18.x, 19.x]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Node.js ${{matrix.node-version}}
uses: actions/setup-node@v5
with:
node-version: ${{matrix.node-version}}
- name: Install dependencies
run: npm install
- name: Install React ${{matrix.react-version}}
if: matrix.react-version != '19.x'
run: npm install -D react@${{matrix.react-version}} react-dom@${{matrix.react-version}}
- name: Run tests
run: npm test