Skip to content

chore(ci): update GitHub Actions and split lint from test #85

chore(ci): update GitHub Actions and split lint from test

chore(ci): update GitHub Actions and split lint from test #85

Workflow file for this run

name: CI
on: [push, pull_request]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24
cache: npm
- name: Install
run: npm ci
- name: Lint
run: npm run lint
test:
name: Test (Node ${{ matrix.node }} / ${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [18, 20, 22, 24]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install
run: npm ci
- name: Test
run: npm test