Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
chore: format frontend.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EjembiEmmanuel committed Oct 27, 2024
1 parent 73dcb67 commit 129e267
Showing 1 changed file with 26 additions and 28 deletions.
54 changes: 26 additions & 28 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,36 @@
name: Linting, formatting and Build on PR
name: CI Frontend

on:
push:
branches: [main, dev]
paths:
- "frontend/**"
pull_request:
branches: [main, dev]
workflow_dispatch:
push:
branches: [main, dev]
paths:
- "frontend/**"
pull_request:
branches: [main, dev]
workflow_dispatch:

jobs:
lint-and-build-frontend:
runs-on: ubuntu-latest
lint-and-build-frontend:
runs-on: ubuntu-latest

defaults:
run:
working-directory: frontend
defaults:
run:
working-directory: frontend

steps:
- name: Checkout the Repository
uses: actions/checkout@v3
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 20

- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install --legacy-peer-deps

- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Run linting check
run: npm run lint:check

- name: Run linting check
run: npm run lint:check
- name: Run formatting check
run: npm run format:check

- name: Run formatting check
run: npm run format:check

- name: Build
run: npm run build
- name: Build
run: npm run build

0 comments on commit 129e267

Please sign in to comment.