From 95aeae3d5451a62cd115eab740eabf6066f2d4a9 Mon Sep 17 00:00:00 2001 From: Sagar Rajput Date: Tue, 16 Apr 2024 03:17:34 +0530 Subject: [PATCH] chore: fixed script --- .github/workflows/jest-coverage.yml | 6 ++---- frontend/package.json | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/jest-coverage.yml b/.github/workflows/jest-coverage.yml index fa3fd82dcb..869865f962 100644 --- a/.github/workflows/jest-coverage.yml +++ b/.github/workflows/jest-coverage.yml @@ -24,10 +24,8 @@ jobs: # yarn custom-coverage --verbose - - name: npm run test:changedsince - run: cd frontend && npm test:changedsince - env: - CI: true + - name: npm test-run-changed + run: cd frontend && npm test-changedsince - name: Upload Coverage Results uses: actions/upload-artifact@v2 diff --git a/frontend/package.json b/frontend/package.json index 1c038d1f96..ead5e15a88 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -24,7 +24,7 @@ "commitlint": "commitlint --edit $1", "test": "jest --coverage", "test:onlychanged": "jest --onlyChanged --coverage", - "test:changedsince": "jest --changedSince=master --coverage" + "test-changedsince": "jest --changedSince=develop --coverage" }, "engines": { "node": ">=16.15.0"