Skip to content

simplify link editor: remove interactive REPL, add inline edit and $E… #27

simplify link editor: remove interactive REPL, add inline edit and $E…

simplify link editor: remove interactive REPL, add inline edit and $E… #27

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
build-and-test:
name: Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npx biome check src/ test/
- name: Build
run: npm run build
- name: Unit tests
run: npm test
integration:
name: Integration tests
runs-on: ubuntu-latest
needs: build-and-test
steps:
- uses: actions/checkout@v4
- name: Setup Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Integration tests
run: npm run test:integration