owncast/web/.github/workflows/linter.yml
Gabe Kangas 24cb1ed0f1 Add ability to set a user as a moderator via the admin (#355)
* Add moderators

* Remove passing unused prop

* Fix linter not running
2021-11-02 17:06:46 -07:00

24 lines
511 B
YAML

name: linter
# This action works with pull requests and pushes
on: [push, pull_request]
jobs:
format:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
fetch-depth: 0
- name: Linter
uses: tj-actions/eslint-changed-files@v7.3
with:
config_path: '.eslintrc.js'
ignore_path: '.eslintignore'
extensions: 'ts,tsx,js,jsx'