From e02fef0f4a4d371d0e16a19f8d85a1e7703b026a Mon Sep 17 00:00:00 2001 From: Agil Mammadov Date: Mon, 27 Apr 2026 23:18:05 +0400 Subject: [PATCH] feat(ci): pr check --- .github/workflows/ci.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..ca4cc0e --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,36 @@ +name: CI + +on: + pull_request: + branches: [master] + +jobs: + check: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 10.x + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Prettier + run: pnpm format:check + + - name: Type check + run: pnpm tsc --noEmit + + - name: Lint + run: pnpm lint