Skip to content

test(splitter-v3): 108 tests, fuzz targets, CI coverage pipeline #112

test(splitter-v3): 108 tests, fuzz targets, CI coverage pipeline

test(splitter-v3): 108 tests, fuzz targets, CI coverage pipeline #112

Workflow file for this run

name: Backend CI

Check failure on line 1 in .github/workflows/backend.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/backend.yml

Invalid workflow file

(Line: 38, Col: 9): Unexpected value 'working-directory'
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- "backend/**"
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
cache-dependency-path: backend/package-lock.json
- name: Install Dependencies
run: npm ci
working-directory: ./backend
- name: Run ESLint
run: npx eslint . --max-warnings 0
working-directory: ./backend
- name: Run Tests
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: npm test
working-directory: ./backend