From bcb9e2ca4784f9135100819d952a5f57c88ae08f Mon Sep 17 00:00:00 2001 From: mizurex Date: Thu, 4 Dec 2025 00:17:39 +0530 Subject: [PATCH 1/2] feat/workflow : added ci pipeline --- .github/workflows/ci.yaml | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 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 00000000..645fcab0 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,46 @@ +name: ci + +permissions: + contents: read + +on: + pull_request: + branches: + - main + paths: + - "apps/web/**" + - "apps/docs/**" + - "packages/**" + - ".github/workflows/**" + +concurrency: + group: pr-ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + environment: ci + steps: + - name: checkout + uses: actions/checkout@v4 + + - name: setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 10.11.0 + + - name: setup node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: pnpm + + - name: install dependencies + run: pnpm install --frozen-lockfile + + - name: lint + run: pnpm run lint + + - name: build + run: pnpm run build From 1dfa3a90a2a40b4fc0938541afa9dcb44b705587 Mon Sep 17 00:00:00 2001 From: mizurex Date: Thu, 4 Dec 2025 00:31:37 +0530 Subject: [PATCH 2/2] minor fix --- .github/workflows/ci.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 645fcab0..96520ad4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,6 @@ concurrency: jobs: build: runs-on: ubuntu-latest - environment: ci steps: - name: checkout uses: actions/checkout@v4