Skip to content

Add instructions for testing the endpoints. #11

Add instructions for testing the endpoints.

Add instructions for testing the endpoints. #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
setup-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '23'
- name: Install dependencies
run: npm install
- name: Install Wasmtime
run: |
curl https://wasmtime.dev/install.sh -sSf | bash
echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
- name: Build the project
run: npm run build
- name: Run tests
run: npm test
- name: Run format checks
run: npm run format -- --check
- name: Run ESLint
run: npm run lint