From d37b83f9431820cd6fd68b1862ce66c8980a345f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=9A=D1=80?= =?UTF-8?q?=D1=8F=D0=B6=D0=B5=D0=B2?= Date: Thu, 15 Jun 2023 15:44:45 +0300 Subject: [PATCH] fix coveralls --- .github/workflows/deploy.yml | 2 ++ package.json | 2 +- packages/imask/package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6dd42a77..6dbb9491 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,6 +38,8 @@ jobs: - run: npm run coverage - name: Coveralls uses: coverallsapp/github-action@v2 + with: + base-path: ./packages/imask - name: Setup Pages uses: actions/configure-pages@v3 - name: Build with Jekyll diff --git a/package.json b/package.json index 6c7474b6..e0e86364 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "make": "npm run test && npm run build", "release": "npm run docs && npm run make && lerna publish", "release:next": "npm run release -- --dist-tag next", - "coverage": "lerna run coveralls --scope imask", + "coverage": "lerna run coverage --scope imask", "watch:core": "lerna run watch --scope imask --stream", "watch:vue": "lerna run watch --scope vue-imask --stream", "watch:react": "lerna run watch --scope react-imask --stream", diff --git a/packages/imask/package.json b/packages/imask/package.json index aa0d6727..3a48517b 100644 --- a/packages/imask/package.json +++ b/packages/imask/package.json @@ -19,7 +19,7 @@ "lint": "eslint --quiet", "prebuild": "npm run lint && rimraf --glob \"{dist,esm}\"", "build": "tsc --emitDeclarationOnly && rollup -c", - "coveralls": "c8 report --reporter=text-lcov | coveralls" + "coverage": "c8 report --reporter=lcov" }, "keywords": [ "javascript",