From dbe87ca0d40cb77a3076cdb103f2f82c2fcf2dcb Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Tue, 4 Nov 2025 13:02:13 +0530 Subject: [PATCH 1/4] feat: update CI workflow to trigger on development branch for better integration --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9d00be..10eb076 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: Unit-Test-CI on: push: - branches: [ master ] + branches: [ master, development ] pull_request: - branches: [ master ] + branches: [ master, development ] jobs: build-test: From 90ed97114763ec1a2fbed03416150ae03dfed59f Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Tue, 4 Nov 2025 13:05:28 +0530 Subject: [PATCH 2/4] fix: update permission to create and update check runs for test reporting --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10eb076..164309b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ jobs: permissions: contents: read pull-requests: write + checks: write steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v4 From 0d1b4cb99993e85f52f5aca2a90bc6e932a4c579 Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Tue, 4 Nov 2025 13:19:13 +0530 Subject: [PATCH 3/4] fix: workflow event --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 164309b..ac52486 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: Unit-Test-CI on: push: - branches: [ master, development ] + branches: [ master, staging, development ] pull_request: - branches: [ master, development ] + branches: [ master, staging, development ] jobs: build-test: From 72a0c5eb242e516530f3c09a4e5717d9a4134de3 Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Tue, 4 Nov 2025 13:50:45 +0530 Subject: [PATCH 4/4] fix: workflow fix --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac52486..41be136 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,9 +21,12 @@ jobs: - run: npm ci - uses: ArtiomTr/jest-coverage-report-action@v2 id: coverage-utils-js + continue-on-error: true with: output: comment, report-markdown - uses: marocchino/sticky-pull-request-comment@v2 + continue-on-error: true + if: steps.coverage-utils-js.outputs.report != '' with: header: Contentstack Utils JS Coverage recreate: true