Skip to content

fixed husky warning #17

fixed husky warning

fixed husky warning #17

Workflow file for this run

name: Tests
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
env:
FAIM_API_KEY: ${{ secrets.FAIM_API_KEY }}
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run type checking and linting
run: npm run lint
- name: Check code formatting
run: npm run format:check
- name: Build project
run: npm run build
- name: Run unit tests
run: npm test
- name: Run integration tests
run: npm run test:integration