Skip to content

Juno DEX

Juno DEX #72

Workflow file for this run

name: Frontend CI
on:
pull_request:
paths:
- "frontend/**"
- "services/indexer/**"
- ".github/workflows/frontend.yml"
push:
paths:
- "frontend/**"
- "services/indexer/**"
- ".github/workflows/frontend.yml"
jobs:
validate:
name: Typecheck, lint, test, and build
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
- name: Playwright E2E
run: npm run test:e2e
- name: Build
run: npm run build