Config prettier and eslint

This commit is contained in:
2025-12-10 21:19:37 +01:00
parent cfa902a343
commit 1562e5394d
5 changed files with 43 additions and 52 deletions

21
.gitea/workflows/lint.yml Normal file
View File

@@ -0,0 +1,21 @@
name: CI
on: [push]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
cache: true
- name: Install node
uses: actions/setup-node@v6
with:
node-version: latest
cache: 'pnpm'
- run: pnpm prettier . --check
- run: pnpm eslint .