Skip to content

Modernize and rewrite into TypeScript #82

Modernize and rewrite into TypeScript

Modernize and rewrite into TypeScript #82

Workflow file for this run

name: Install and test Concordance
on:
push:
branches:
- main
pull_request:
paths-ignore:
- '*.md'
jobs:
formatting:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
- run: npm install --no-audit
- run: npx prettier --check . && npx xo
tests:
name: Run tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [^22.14, ^24]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install --no-audit
- run: npx c8 ava
- uses: codecov/codecov-action@v4
with:
file: coverage/lcov.info
name: ${{ matrix.node-version }}
types:
name: Check types
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
- run: npm install --no-audit
- run: npx tsc --noEmit