From cb9b5c4470343332d0fbddb5a37056b0c213c792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Fri, 14 Jun 2024 23:47:35 +0200 Subject: [PATCH] Lint CI --- .gitea/workflows/lint.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/lint.yaml diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml new file mode 100644 index 0000000..b70f9c8 --- /dev/null +++ b/.gitea/workflows/lint.yaml @@ -0,0 +1,20 @@ +name: Lint +run-name: Lint +on: [push] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: "Install Bun" + uses: oven-sh/setup-bun@v1 + - name: "Install Node" + uses: actions/setup-node@v4 + with: + node-version: "20" + - name: "Clone repo" + uses: actions/checkout@v4 + - name: "Install dependencies" + run: bun install --frozen-lockfile + - name: "Lint TypeScript" + run: npm run lint:tsc