Skip to content

Add Gherkin lint action #1

Add Gherkin lint action

Add Gherkin lint action #1

Workflow file for this run

name: Gherkin Linting
on:
workflow_dispatch:
pull_request:
branches:
- main
- master
jobs:
gherkin-lint:
name: Lint Gherkin Feature files
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
- name: Download lint rules
run: curl https://gist.githubusercontent.com/ernilambar/a7a30af6f6f6bd5be238d5499993233a/raw/3b8f54e2d36be33706947ce6ce44c5a888cee464/gherkin-lintrc.json -o .gherkin-lintrc
- name: Run lint
run: npx --yes gherkin-lint