Skip to content

Merge pull request #4549 from Ivy-Interactive/4515-input-selection-st… #4460

Merge pull request #4549 from Ivy-Interactive/4515-input-selection-st…

Merge pull request #4549 from Ivy-Interactive/4515-input-selection-st… #4460

name: Frontend Code Quality Checks
permissions:
contents: read
on:
push:
branches: [main, development]
paths:
- "src/frontend/**"
pull_request:
branches: [main, development]
paths:
- "src/frontend/**"
workflow_dispatch:
jobs:
frontend-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup Node.js
- uses: voidzero-dev/setup-vp@v1
- name: Install dependencies
working-directory: ./src/frontend
run: vp install
# Frontend code quality checks
- name: Check code formatting
working-directory: ./src/frontend
run: vp fmt --check .
- name: Check linting
working-directory: ./src/frontend
run: vp lint .
- name: Check frontend build
working-directory: ./src/frontend
run: vp build