2024-08-18 20:14:17 +02:00
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "**" # matches every branch
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
eslint:
|
|
|
|
name: Lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2024-10-12 02:02:31 +02:00
|
|
|
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
|
2024-08-18 20:14:17 +02:00
|
|
|
|
2024-10-26 02:01:50 +02:00
|
|
|
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
|
2024-08-18 20:14:17 +02:00
|
|
|
with:
|
|
|
|
node-version: 20
|
|
|
|
cache: "npm"
|
|
|
|
- run: npm i
|
2024-08-18 21:02:29 +02:00
|
|
|
- uses: sibiraj-s/action-eslint@bcf41bb9abce43cdbad51ab9b3da2eddaa17eab3 # v3.0.1
|
2024-08-18 20:14:17 +02:00
|
|
|
with:
|
|
|
|
eslint-args: "--ignore-path=.gitignore --quiet"
|
|
|
|
extensions: "js,jsx,ts,tsx"
|
|
|
|
annotations: true
|
|
|
|
all-files: true
|