hydra/.github/workflows/lint.yml

32 lines
592 B
YAML
Raw Normal View History

2024-04-18 10:46:06 +03:00
name: Lint
2024-06-27 16:51:13 +03:00
on: pull_request
2024-04-18 10:46:06 +03:00
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.11.1
- name: Install dependencies
run: yarn
2024-05-13 02:54:48 +03:00
- name: Validate current commit (last commit) with commitlint
run: npx commitlint --last --verbose
2024-04-29 13:08:04 +03:00
- name: Typecheck
run: yarn typecheck
2024-04-18 10:46:06 +03:00
- name: Lint
run: yarn lint
2024-05-16 03:58:41 +03:00
- name: Format check
run: yarn format-check