Skip to content

Commit

Permalink
ci: add codeQuality job to run lint and format tasks (#3922)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalexiei authored and escapedcat committed Feb 27, 2024
1 parent 1bb817a commit 195078e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,27 @@ jobs:
- name: Test
run: yarn test

codeQuality:
name: Code quality
needs: [build]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn

- name: Install dependencies
run: yarn install --ignore-engines --frozen-lockfile

- name: Check format
run: yarn format

- name: Lint
run: yarn lint

nodeJsBaselineAptCompatibility:
name: NodeJS installed from stock Ubuntu-LTS packages (not external sources)
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 195078e

Please sign in to comment.