* Add script to run eslint for the project * Add GitHub Action for linting Prevent merges with linting errors * Rename GitHub Action "build_push" to "build_push_master"
12 lines
203 B
YAML
12 lines
203 B
YAML
name: Lint
|
|
on: push
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install modules
|
|
run: yarn
|
|
- name: Run ESLint
|
|
run: yarn lint
|