Skip to content

Feature/any repo (KHO-333) #814

Feature/any repo (KHO-333)

Feature/any repo (KHO-333) #814

Workflow file for this run

name: frontend-lint
on:
pull_request:
branches:
- main
- staging
jobs:
frontend-lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run frontend linter
run: npx eslint
- name: Build the app
run: npm run build