chore: Add linting
Some checks failed
Build Docker Image / build_docker (push) Failing after 3m9s
Lint / run (push) Failing after 59s
Build, check & Test / run (push) Successful in 9m12s

Signed-off-by: Avior <git@avior.me>
This commit is contained in:
2024-05-23 14:55:52 +02:00
parent 22a20d67d0
commit eb3b41be72
7 changed files with 275 additions and 21 deletions

28
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Lint
on: push
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run BiomeJS
run: npm run lint
# - uses: mongolyy/reviewdog-action-biome@v1
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# reporter: gitea-pr-review
# filter_mode: diff_context
# fail_on_error: true