Skip to content

fix frontend faliure workflow #59

fix frontend faliure workflow

fix frontend faliure workflow #59

name: React CI
on:
push:
branches: [ main ]
paths:
- 'frontend/**'
pull_request:
branches: [ main ]
paths:
- 'frontend/**'
jobs:
build:
runs-on: ubuntu-latest
defaults:

Check failure on line 18 in .github/workflows/workflow_frontend.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/workflow_frontend.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v2
with:
path: 'frontend'
ref: main
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'
- name: Install Dependencies
run: npm install
- name: Run ESLint
run: npm run format
- name: Build
run: npm run build