You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
348 B
18 lines
348 B
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
|
|
|