mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-22 11:33:03 +00:00
Lint code with GitHub actions
This commit is contained in:
parent
28551cb663
commit
7f15e72f71
1 changed files with 9 additions and 0 deletions
9
.github/workflows/codequality.yml
vendored
9
.github/workflows/codequality.yml
vendored
|
@ -24,3 +24,12 @@ jobs:
|
||||||
name: Commit possible changes
|
name: Commit possible changes
|
||||||
with:
|
with:
|
||||||
commit_message: "Format files using prettier"
|
commit_message: "Format files using prettier"
|
||||||
|
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
- name: Run eslint
|
||||||
|
run: npm run lint
|
||||||
|
|
Loading…
Reference in a new issue