19 lines
348 B
YAML
19 lines
348 B
YAML
name: linter
|
|
|
|
# This action works with pull requests and pushes
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
run-test:
|
|
runs-on: ubuntu-latest
|
|
name: Run linter on changed files
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
|
|
- name: Lint
|
|
run: npm run lint
|