29 lines
551 B
YAML
29 lines
551 B
YAML
name: Lint
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
push:
|
|
branches-ignore:
|
|
- 'gh-pages'
|
|
- 'dependabot/**'
|
|
|
|
jobs:
|
|
test-lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: ESLint
|
|
if: always()
|
|
run: npm run lint
|
|
|
|
- name: 'Prettier check (quick fix: `npm run prettier`)'
|
|
if: always()
|
|
run: npm run prettier:check
|