ci: add eslint job to CI workflow

This commit is contained in:
Jan Gleytenhoover 2025-02-13 11:00:53 +01:00
parent 3bea232dfb
commit 43db82da8f
Signed by: jank
GPG key ID: 22BEAC760B3333D6

View file

@ -4,6 +4,25 @@ on:
pull_request:
jobs:
eslint:
name: eslint
runs-on: vps-4
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: |
cd frontend
bun install
- name: Run Eslint
run: |
cd frontend
bun run lint
prettier:
name: prettier
runs-on: vps-4