Skip to content

Commit e8923ab

Browse files
authored
Merge pull request #18 from ernilambar/fix/lint
Fix yaml lint
2 parents 35cd64f + 6bc22ff commit e8923ab

File tree

4 files changed

+11
-405
lines changed

4 files changed

+11
-405
lines changed

.gherkin-lintrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
"Feature": 0,
66
"Background": 2,
77
"Scenario": 2,
8+
"Examples": 4,
89
"Step": 4,
910
"given": 4,
11+
"example": 6,
1012
"and": 4
1113
}
1214
],

.github/workflows/lint-gherkin.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
name: Gherkin Linting
22

33
on:
4+
workflow_dispatch:
45
pull_request:
56
branches:
67
- main
78
- master
8-
workflow_dispatch:
9-
workflow_call:
109

1110
jobs:
12-
1311
gherkin-lint:
1412
name: Lint Gherkin Feature files
1513
runs-on: ubuntu-latest
1614
steps:
17-
- uses: actions/checkout@v4
18-
- uses: bahmutov/npm-install@v1
19-
- run: npm run lint
15+
- name: Check out source code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup node
19+
uses: actions/setup-node@v4
20+
21+
- name: Run lint
22+
run: npx --yes gherkin-lint

0 commit comments

Comments
 (0)