From 858ee28ef25d82dd8d5dd96d4904bd17534f7543 Mon Sep 17 00:00:00 2001 From: C4illin Date: Thu, 7 Aug 2025 23:27:55 +0200 Subject: [PATCH] ci: check formatting --- .github/workflows/check-lint.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/check-lint.yml diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml new file mode 100644 index 0000000..353903a --- /dev/null +++ b/.github/workflows/check-lint.yml @@ -0,0 +1,31 @@ +name: Check Lint + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + lint: + name: Run linting checks + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: oven-sh/setup-bun@v2 + with: + bun-version: 1.2.2 + + - name: Install dependencies + run: bun install + + - name: Run lint + run: bun run lint