Skip to content

Adds lint:eslint:check + eslint job in Linting GitHub Action #6

Adds lint:eslint:check + eslint job in Linting GitHub Action

Adds lint:eslint:check + eslint job in Linting GitHub Action #6

Workflow file for this run

name: Linting
on: pull_request
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/hydrogen"
- run: npm ci
- run: npm run lint:prettier:check
eslint:
name: Eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/hydrogen"
- run: npm ci
- run: npm run lint:eslint:check