mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
28 lines
449 B
YAML
28 lines
449 B
YAML
name: Web UI Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'web-src/**'
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'web-src/**'
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
working-directory: web-src
|
|
run: npm install
|
|
|
|
- name: Run linter
|
|
working-directory: web-src
|
|
run: npm run lint --no-fix
|