Skip to content

Code Cleaning and Linters #2

Code Cleaning and Linters

Code Cleaning and Linters #2

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
jobs:
run-linters:
if: github.event.pull_request.draft == false
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: 20
# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: npm ci
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: false
prettier: true