Skip to content

fixes

fixes #6

Workflow file for this run

name: Lint
on:
push:
paths:
- "src/**"
- "package.json"
- ".github/workflows/lint.yml"
jobs:
lint:
name: Lint source code
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npm run lint:fix
- name: Commit changes
uses: EndBug/add-and-commit@v4
with:
add: src
message: "[auto] Lint source code"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}