mirror of
https://github.com/owncast/owncast.git
synced 2024-11-27 09:45:36 +03:00
a5ad812054
Maybe this will fix https://github.com/owncast/owncast/issues/1607?
23 lines
511 B
YAML
23 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@v8.1
|
|
with:
|
|
config_path: '.eslintrc.js'
|
|
ignore_path: '.eslintignore'
|
|
extensions: 'ts,tsx,js,jsx'
|