Skip to content

add lint:eslint:check + aslant job in Linting GitHub Actions #3

add lint:eslint:check + aslant job in Linting GitHub Actions

add lint:eslint:check + aslant job in Linting GitHub Actions #3

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