0

24 lines
511 B
YAML
Raw Normal View History

2021-02-04 23:52:18 -08:00
name: linter
# This action works with pull requests and pushes
on: [push, pull_request]
2021-04-19 23:12:35 -07:00
2021-02-04 23:52:18 -08:00
jobs:
format:
2021-04-23 08:49:19 -07:00
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
2021-07-05 17:45:28 -07:00
fetch-depth: 0
2021-03-27 17:58:44 -07:00
- name: Linter
2021-07-19 22:02:02 -07:00
uses: tj-actions/eslint-changed-files@v6.5
2021-03-27 17:58:44 -07:00
with:
config-path: '.eslintrc.js'
ignore-path: '.eslintignore'
extensions: 'ts,tsx,js,jsx'