From b5d78c94275a64f220e8039193fec0e72cf13080 Mon Sep 17 00:00:00 2001 From: VVS Basanth Pedapati Date: Wed, 27 May 2026 16:21:42 +0530 Subject: [PATCH 1/2] Add GitHub Actions workflow for code coverage --- .github/workflows/code-coverage.yml | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/code-coverage.yml diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml new file mode 100644 index 0000000..6a3af99 --- /dev/null +++ b/.github/workflows/code-coverage.yml @@ -0,0 +1,46 @@ +name: Code Coverage + +on: + pull_request: + branches: + - main + - dev + push: + branches: + - main + - dev + workflow_dispatch: + +jobs: + coverage: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + + - name: Install dependencies + run: npm ci + + - name: Run tests with coverage + run: npm run test:coverage + env: + CI: true + + - name: Upload coverage artifact + uses: actions/upload-artifact@v4 + if: always() + with: + name: coverage-report + path: | + coverage + .nyc_output + if-no-files-found: warn From 9850bd5c71dcff8ae1032bf450ef447e8b60d494 Mon Sep 17 00:00:00 2001 From: VVS Basanth Pedapati Date: Wed, 27 May 2026 16:25:55 +0530 Subject: [PATCH 2/2] Create SECURITY.md for security policy Added a security policy document outlining supported versions and vulnerability reporting. --- SECURITY.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..034e848 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc.