0

28 lines
582 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
2022-02-11 14:11:26 -08:00
uses: tj-actions/eslint-changed-files@v9
2021-03-27 17:58:44 -07:00
with:
2021-10-13 19:26:12 -07:00
config_path: '.eslintrc.js'
ignore_path: '.eslintignore'
2022-02-18 13:05:37 -08:00
file_extensions: |
**/*.ts
**/*.tsx
**/*.js
**/*.jsx