From 0f875baa995e3393524611794addf7e18190ef30 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 22 Jan 2026 23:29:00 +0300 Subject: [PATCH] ci: add format and lint checks Signed-off-by: NotAShelf Change-Id: I78b9c47c3019ebd0147471e4c6cdce796a6a6964 --- .github/workflows/check.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..22fa6b5 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,30 @@ +name: Check + +on: + pull_request: + push: + branches: [main] + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + + - name: Setup Node + uses: actions/setup-node@v6 + with: + node-version: 22 + cache: pnpm + + - run: pnpm install --frozen-lockfile + + - run: pnpm run check + - run: pnpm run lint + - run: pnpm run fmt --check