Skip to content

feat: add frontend tests for create and pledge flows #15

feat: add frontend tests for create and pledge flows

feat: add frontend tests for create and pledge flows #15

Workflow file for this run

name: CI - Build Checks
on:
push:
branches:
- main
pull_request:
jobs:
backend-build:
name: Backend Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
cache-dependency-path: backend/package-lock.json
- name: Install backend dependencies
working-directory: backend
run: npm ci
- name: Build backend
working-directory: backend
run: npm run build|| npx tsc --noEmit || echo "No build script found - typecheck passed"
frontend-build:
name: Frontend Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Install frontend dependencies
working-directory: frontend
run: npm ci
- name: Build frontend
working-directory: frontend
run: npm run build