Skip to content

fix

fix #718

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Enable pnpm with corepack
run: corepack enable pnpm
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: pnpm install
- name: Lint Action
uses: wearerequired/lint-action@v2.3.0
with:
eslint: true
prettier: true