Skip to content

quick fix

quick fix #189

Workflow file for this run

name: Lint web app
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
pull_request:
branches:
- main
paths:
- src/web-app/**
defaults:
run:
working-directory: src/web-app
jobs:
run-linters:
name: Run linters web app
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: ./src/web-app/package-lock.json
- name: Install Node.js dependencies
run: npm ci
- name: Run linters
run: npm run lint