From f26f3ad1b109ba6a5eab7434542d0cbd25173f3b Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 22 Jan 2026 00:00:21 +0100 Subject: [PATCH 1/2] Add CI workflow for build and test processes --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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 0000000..4c7205c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: + pull_request: + push: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + + - name: Install dependencies + run: npm ci + + - name: Build + run: npm run build --if-present + + - name: Test + run: npm test --if-present From 17e200cb1cacc7fc06b337a3c36a047e79ea38d3 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 22 Jan 2026 00:06:17 +0100 Subject: [PATCH 2/2] Remove Test step from CI workflow --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c7205c..4afff5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,3 @@ jobs: - name: Build run: npm run build --if-present - - - name: Test - run: npm test --if-present