From ba292719b8269e1e452c494c8b6b7f7af373825a Mon Sep 17 00:00:00 2001 From: Szymon Chmal Date: Wed, 15 Oct 2025 12:17:51 +0200 Subject: [PATCH 1/3] chore: add CI checks --- .github/workflows/ci.yml | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..bc57a1dd --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,44 @@ +name: CI +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Install pnpm + uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 + with: + version: latest + + - name: Setup Node.js + uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 + with: + node-version: '23' + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Set shas + uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v.4.3.3 + + - name: Typecheck + run: pnpm nx affected -t typecheck + + - name: Build + run: pnpm nx affected -t build + + - name: Lint + run: pnpm nx affected -t lint + + - name: Test + run: pnpm nx affected -t test From b458c6125562abd5d605cd5ab29e85209e7b62b7 Mon Sep 17 00:00:00 2001 From: Szymon Chmal Date: Wed, 15 Oct 2025 12:27:34 +0200 Subject: [PATCH 2/3] fix: pnpm version --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc57a1dd..673f1b39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: - main jobs: - lint: + check: runs-on: ubuntu-latest steps: - name: Checkout @@ -16,8 +16,6 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 - with: - version: latest - name: Setup Node.js uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 From 599b6ceddd7c5d50e038971a9c153631e16e89b5 Mon Sep 17 00:00:00 2001 From: Szymon Chmal Date: Wed, 15 Oct 2025 12:37:24 +0200 Subject: [PATCH 3/3] fix: checkout --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 673f1b39..12856dfb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + filter: tree:0 + fetch-depth: 0 - name: Install pnpm uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0