From 086c70c60be89044525220cd3695c9431e0d8b8d Mon Sep 17 00:00:00 2001 From: Vaishnav Sawant Date: Wed, 30 Sep 2026 02:08:23 +0530 Subject: [PATCH 1/3] chore: add monthly dependency updates --- .github/dependabot.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..4684c24 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/campaign_engine" + schedule: + interval: "monthly" + open-pull-requests-limit: 5 + groups: + production-dependencies: + dependency-type: "production" + development-dependencies: + dependency-type: "development" + - package-ecosystem: "npm" + directory: "/dashboard-next" + schedule: + interval: "monthly" + open-pull-requests-limit: 5 + groups: + production-dependencies: + dependency-type: "production" + development-dependencies: + dependency-type: "development" From da98a40a774265cb4cc205cb2dc35a004ebaea64 Mon Sep 17 00:00:00 2001 From: Vaishnav Sawant Date: Wed, 30 Sep 2026 02:12:14 +0530 Subject: [PATCH 2/3] ci: add repository quality checks --- .github/workflows/ci.yml | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 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..e713d32 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,45 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +permissions: + contents: read + +concurrency: + group: ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + quality: + runs-on: ubuntu-latest + timeout-minutes: 25 + strategy: + fail-fast: false + matrix: + directory: + - campaign_engine + - dashboard-next + defaults: + run: + working-directory: ${{ matrix.directory }} + steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + cache-dependency-path: ${{ matrix.directory }}/package-lock.json + - name: Install dependencies + run: npm ci + - name: Lint when configured + run: npm run lint --if-present + - name: Test when configured + run: npm test --if-present + - name: Build when configured + run: npm run build --if-present From 2181424fed1808e42a7085caace91b13d6463b3d Mon Sep 17 00:00:00 2001 From: Vaishnav Sawant Date: Wed, 30 Sep 2026 02:18:24 +0530 Subject: [PATCH 3/3] ci: align checks with repository requirements --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e713d32..0158241 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,17 +28,15 @@ jobs: working-directory: ${{ matrix.directory }} steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: npm cache-dependency-path: ${{ matrix.directory }}/package-lock.json - name: Install dependencies run: npm ci - - name: Lint when configured - run: npm run lint --if-present - name: Test when configured run: npm test --if-present - name: Build when configured