Skip to content

chore: workflows

chore: workflows #75

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: "lint"
cancel-in-progress: true
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install Node.js dependencies
run: npm ci
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
eslint_args: "--config .eslintrc.yml --ignore-path .eslintignore"
auto_fix: true
commit_message: |
chore(lint): fix issues with ${linter}
[skip ci]