Skip to content

Commit

Permalink
Renamed workflow + job for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Nov 29, 2024
1 parent d60ecc1 commit 6c7778c
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Lint pushes/PRs

name: Lint pushes + PRs
on: [push, pull_request]

jobs:
eslint:

js-json-md-yaml-lint:
name: JavaScript + JSON + Markdown + YAML
runs-on: ubuntu-latest
steps:

Expand All @@ -16,7 +17,7 @@ jobs:
node-version: 'lts/*'

- name: Install dependencies
run: npm ci # instead of install to ensure consistency and determinism in CI/CD workflow
run: npm ci

- name: Run ESLint
run: npm run lint

0 comments on commit 6c7778c

Please sign in to comment.