Skip to content

ci: add eslint + prettier #5

ci: add eslint + prettier

ci: add eslint + prettier #5

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install
run: npm ci
- name: Run tests
run: npx vitest run --coverage
- name: Run linting
run: npm run lint
- name: Check formatting
run: npx prettier . --check