trackevery-day/.gitea/workflows/lint.yml
Renovate Bot 1c026a4f4a
All checks were successful
Lint / Lint (push) Successful in 35s
SonarQube Scan / SonarQube Trigger (push) Successful in 1m0s
chore(deps): update actions/setup-node digest to 39370e3
2024-10-26 01:04:12 +00:00

28 lines
653 B
YAML

name: Lint
on:
pull_request:
push:
branches:
- "**" # matches every branch
jobs:
eslint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 20
cache: "npm"
- run: npm i
- uses: sibiraj-s/action-eslint@bcf41bb9abce43cdbad51ab9b3da2eddaa17eab3 # v3.0.1
with:
eslint-args: "--ignore-path=.gitignore --quiet"
extensions: "js,jsx,ts,tsx"
annotations: true
all-files: true