From 47f90b38c4afb4d9bedd90e347ab3a9fee85f348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20Ribo=CC=81=20Labrador?= Date: Sat, 16 Dec 2023 10:31:22 -0500 Subject: [PATCH] =?UTF-8?q?fix=20script.=20Signed-off-by:=20Francisco=20Ja?= =?UTF-8?q?vier=20Rib=C3=B3=20Labrador=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4754f004..2022b047 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | npm ci - npm run coverage + sh coverage.sh - name: Coverage Comment uses: MishaKav/jest-coverage-comment@v1.0.23 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d821af46..34d298e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,7 +50,7 @@ jobs: npm ci npm run release npm run docs - npm run coverage + sh coverage.sh - uses: stefanzweifel/git-auto-commit-action@v5 env: diff --git a/package.json b/package.json index aef629cb..1ee3f6f4 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "clean-packages": "npx lerna run clean && rm -rf node_modules", "build": "npx lerna run build --stream --include-dependencies", - "coverage": "sh coverage.sh", + "coverage": "cd packages/database && npm run coverage", "test": "npx lerna run --stream test", "docs": "npx lerna run --stream docs", "docs-html": "npx lerna run --stream docs-html",