Skip to content

Check text files out with LF on every platform #2

Check text files out with LF on every platform

Check text files out with LF on every platform #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
# The matrix doubles as a test of engine resolution: each OS pulls a
# different per-platform binary out of the optional dependencies.
name: ${{ matrix.os }} · node ${{ matrix.node }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: ["20", "22"]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- name: Typecheck
run: npm run check
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Test
run: npx vitest run
- name: Verify the published entry point starts
run: node dist/main.js --version