Skip to content

Frontend Test Stage

Frontend Test Stage #2

Workflow file for this run

name: Frontend Test Stage
on:
workflow_run:
workflows:
- Frontend Build Stage
types:
- completed
defaults:
run:
working-directory: ./frontend
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci --prefer-offline
- name: Lint
run: npm run test:lint
type-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci --prefer-offline
- name: Type check
run: npm run test:typecheck