Skip to content

Update prototype to v13 of the GOV.UK prototype kit #11

Update prototype to v13 of the GOV.UK prototype kit

Update prototype to v13 of the GOV.UK prototype kit #11

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Install packages
run: npm install
- name: Run linters with autofix
run: npm run lint:fix || exit 0
- name: Push any fixes
run: |
git config --global user.email "lint-bot@example.com"
git config --global user.name "lint-bot"
git add --all
git commit -m "Code style fixes" || exit 0
git push
- name: Re-run linters
run: npm run lint