Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generic lint GitHub actions #938

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Run lint:js

jobs:
run-lint-js:
name: Run lint:js
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: alphagov/govuk-infrastructure/.github/actions/setup-node@main

- name: Run lint:js
run: yarn run lint:js
15 changes: 15 additions & 0 deletions .github/workflows/lint-prettier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Run lint:prettier

jobs:
run-lint-prettier:
name: Run lint:prettier
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: alphagov/govuk-infrastructure/.github/actions/setup-node@main

- name: Run lint:prettier
run: yarn run lint:prettier
15 changes: 15 additions & 0 deletions .github/workflows/lint-scss.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Run lint:scss

jobs:
run-lint-scss:
name: Run lint:scss
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: alphagov/govuk-infrastructure/.github/actions/setup-node@main

- name: Run lint:scss
run: yarn run lint:scss