Skip to content

Merge branch 'main' of https://github.com/Brijeshthummar02/cheatsheets #7

Merge branch 'main' of https://github.com/Brijeshthummar02/cheatsheets

Merge branch 'main' of https://github.com/Brijeshthummar02/cheatsheets #7

Workflow file for this run

name: Frontend CI
on:
pull_request:
push:
branches:
- main
jobs:
build-and-lint:
name: Build and Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run build
run: npm run build