From 65629373f54bad1a174a3dc6d9a97e22b084ba5d Mon Sep 17 00:00:00 2001 From: Thomas Hodges Date: Thu, 21 Aug 2025 13:29:55 -0500 Subject: [PATCH 1/2] Add build step to CI --- .github/workflows/ci.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 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..c6e5ace --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,39 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + with: + fetch-depth: 0 + + - name: Setup pnpm + uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 + with: + version: 9 + + - name: Setup Node.js 20.x + uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + with: + node-version: '20.x' + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --frozen-lockfile --strict-peer-dependencies + shell: bash + + - name: Build project + run: pnpm run build + shell: bash + From 65d56ab3b8102139f5c3d4a2c8dd33dba8798ba2 Mon Sep 17 00:00:00 2001 From: Thomas Hodges Date: Fri, 22 Aug 2025 05:39:24 -0500 Subject: [PATCH 2/2] Remove push trigger --- .github/workflows/ci.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c6e5ace..8eda893 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,6 @@ name: CI on: - push: - branches: [ main ] pull_request: branches: [ main ]