owncast/web/.github/workflows/linter.yml

23 lines
520 B
YAML
Raw Normal View History

2021-02-05 08:52:18 +01:00
name: linter
# This action works with pull requests and pushes
on:
pull_request:
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 9.8.0
- name: Install
run: npm install
- name: Run ESLint on changed files
uses: tj-actions/eslint-changed-files@v4
with:
2021-02-07 03:38:31 +01:00
config-path: '.eslintrc.js'
ignore-path: '.eslintignore'
2021-02-05 08:52:18 +01:00
extensions: 'ts,tsx,js,jsx'