diff --git a/.github/workflows/eslint-on-push-pr.yml b/.github/workflows/lint-on-push-pr.yml similarity index 72% rename from .github/workflows/eslint-on-push-pr.yml rename to .github/workflows/lint-on-push-pr.yml index 2e9ea10..a2aa8df 100644 --- a/.github/workflows/eslint-on-push-pr.yml +++ b/.github/workflows/lint-on-push-pr.yml @@ -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: @@ -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