Skip to content

Commit

Permalink
wip add lint job on frontend sources
Browse files Browse the repository at this point in the history
  • Loading branch information
lebaudantoine committed Mar 5, 2024
1 parent 0943515 commit 481d59d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,22 @@ jobs:
- name: Install gitlint
run: pip install --user requests gitlint
- name: Lint commit messages added to main
run: ~/.local/bin/gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD
run: ~/.local/bin/gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD

lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
run: yarn install

- name: Run linter over sources
run: yarn run format

0 comments on commit 481d59d

Please sign in to comment.