Skip to content

Commit c62d0ee

Browse files
committed
feat: add lint step to Node.js CI workflow
Run eslint before tests to catch linting issues in CI.
1 parent ba9ed3e commit c62d0ee

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci-node.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ jobs:
2323
cache: npm
2424

2525
- run: npm ci
26+
- run: npm run lint
2627
- run: npm test

workflow-templates/ci-node.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ jobs:
1616
node-version: lts/*
1717

1818
- run: npm ci
19+
- run: npm run lint
1920
- run: npm test

0 commit comments

Comments
 (0)