zoneminder/.github/workflows/ci-eslint.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
449 B
YAML
Raw Normal View History

2021-05-31 05:22:27 +08:00
name: CI ESLint
on:
push:
branches:
- '*'
pull_request:
branches: [ master ]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install ESLint
2022-01-18 03:35:59 +08:00
run: npm install eslint@8.7.0 eslint-config-google@0.14.0 eslint-plugin-html@6.2.0 eslint-plugin-php-markup@6.0.0
2021-05-31 05:22:27 +08:00
- name: Run ESLint
run: npx eslint --ext .php,.js .