Skip to content

Commit e59ec08

Browse files
committed
chore: added linter to the github action workflows
1 parent 33e5b44 commit e59ec08

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
run: npm ci
2525
working-directory: ${{ env.working-directory }}
2626

27+
- name: Linter
28+
run: npm run lint
29+
working-directory: ${{ env.working-directory }}
30+
2731
- name: Apply changes
2832
run: node update.js iojs.org
2933
working-directory: ${{ env.working-directory }}

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
- name: Install dependencies
2424
run: npm ci
2525
working-directory: ${{ env.working-directory }}
26-
26+
27+
- name: Linter
28+
run: npm run lint
29+
working-directory: ${{ env.working-directory }}
30+
2731
- name: Check changes
2832
run: node update.js iojs.org --dry-run
2933
working-directory: ${{ env.working-directory }}

0 commit comments

Comments
 (0)