Skip to content

feat: add delegated contact API #649

feat: add delegated contact API

feat: add delegated contact API #649

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
backend:
name: Backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "npm"
cache-dependency-path: backend/package-lock.json
- name: Install dependencies
working-directory: backend
run: npm ci
- name: Lint
working-directory: backend
run: npm run lint
- name: Syntax check
working-directory: backend
run: node --check src/index.js
- name: Test
working-directory: backend
run: npm test
- name: Audit
working-directory: backend
run: npm audit --omit=dev --audit-level=high
frontend:
name: Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
working-directory: frontend
run: npm ci
- name: Lint
working-directory: frontend
run: npm run lint
- name: Build
working-directory: frontend
run: npm run build
- name: Test
working-directory: frontend
run: npm test
- name: Audit
working-directory: frontend
run: npm audit --omit=dev --audit-level=high