From 0197f9083e156315bbb42f409b1f06ff363288ad Mon Sep 17 00:00:00 2001 From: Evan Vetere Date: Mon, 2 Nov 2026 16:38:13 -0500 Subject: [PATCH] ci: Add required CI check Pull requests could merge with a red or missing build because no check was required. Call the shared ci-basic workflow from a job named ci so the check reports as ci / Build and test. It installs, lints and builds the CMS, then runs the react dependency check the old workflow ran. The old ci.yml is removed, as ci.yaml covers every step it ran. --- .github/workflows/ci.yaml | 15 +++++++++++++++ .github/workflows/ci.yml | 31 ------------------------------- 2 files changed, 15 insertions(+), 31 deletions(-) create mode 100644 .github/workflows/ci.yaml delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..04e7eeb --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,15 @@ +name: CI + +on: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +jobs: + ci: + uses: datum-cloud/actions/.github/workflows/ci-basic.yaml@v1.26.0 + with: + run: npm ls react react-dom react-router-dom styled-components diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index b3c5a10..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: CI - -on: - push: - branches: - - main - pull_request: - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - timeout-minutes: 15 - steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - persist-credentials: false - - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 - with: - node-version-file: .nvmrc - cache: npm - - run: npm ci - - run: npm ls react react-dom react-router-dom styled-components - - run: npm run lint - - run: npm run build