Skip to content

Merge pull request #91 from alphagov/dependabot/npm_and_yarn/eslint-9… #186

Merge pull request #91 from alphagov/dependabot/npm_and_yarn/eslint-9…

Merge pull request #91 from alphagov/dependabot/npm_and_yarn/eslint-9… #186

Workflow file for this run

name: CI
on:
workflow_dispatch: {}
push:
branches:
- main
pull_request:
jobs:
codeql-sast:
name: CodeQL SAST scan
uses: alphagov/govuk-infrastructure/.github/workflows/codeql-analysis.yml@main
permissions:
security-events: write
dependency-review:
name: Dependency Review scan
uses: alphagov/govuk-infrastructure/.github/workflows/dependency-review.yml@main
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- name: Setup Node
uses: alphagov/govuk-infrastructure/.github/actions/setup-node@main
- name: Run eslint
run: yarn run eslint .
- name: Run prettier
run: yarn run prettier --check .