Browse Source

Fix linter workflow?

pull/1886/head
Gabe Kangas 3 years ago
parent
commit
d6604300e1
  1. 23
      web/.github/workflows/linter.yml

23
web/.github/workflows/linter.yml

@ -4,24 +4,15 @@ name: linter
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
format: run-test:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Run linter on changed files
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
fetch-depth: 0
- name: Linter - name: Install Dependencies
uses: tj-actions/eslint-changed-files@v9 run: npm install
with:
config_path: '.eslintrc.js' - name: Lint
ignore_path: '.eslintignore' run: npm run lint
file_extensions: |
**/*.ts
**/*.tsx
**/*.js
**/*.jsx

Loading…
Cancel
Save