Skip to content

Frontend backend connection #1

Frontend backend connection

Frontend backend connection #1

Workflow file for this run

name: frontend-lint
on:
push:
branches:
- "**"
paths:
- "frontend/**"
pull_request:
branches:
- "**"
paths:
- "frontend/**"
jobs:
frontend-lint:
name: frontend-lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint Frontend
run: |
cd frontend
npm install
npm run lint
npm install prettier
npx prettier --check .
frontend-tests:
name: Run frontend-tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test Frontend
run: |
cd frontend
npm install
npm run test