From e904e9634548e47d611bdcbb88d7b180b927fd5f Mon Sep 17 00:00:00 2001 From: JustZvan Date: Fri, 6 Feb 2026 12:16:40 +0100 Subject: feat: initial commit! --- .github/workflows/pull_request.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/pull_request.yml (limited to '.github/workflows/pull_request.yml') diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..77aae91 --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,33 @@ +name: Pull Request +on: [pull_request, workflow_dispatch] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - uses: pnpm/action-setup@v4 + with: + version: 10.19.0 + + - name: Set up Node.js + uses: actions/setup-node@v6 + with: + node-version: "24" + + - name: Install dependencies + run: pnpm i + + - name: Run unit tests + run: pnpm test:run + + - name: Check for TypeScript errors + run: pnpm tsc --noEmit + + - name: Check for linter errors + run: pnpm lint + + - name: Check for formatting errors + run: pnpm format:check -- cgit v1.2.3