From 81cc91e3b4fd168c4e6602cb0f1857192d52fec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Sun, 31 Jan 2021 16:01:13 -0500 Subject: [PATCH] run coverage --- .github/workflows/ci.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03fba52..ccec622 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,8 @@ jobs: node-version: ${{ matrix.node-version }} - name: Test run: | - yarn test + yarn test --coverage + yarn spellcheck - name: Coveralls GitHub Action if: matrix.node-version == '*' uses: coverallsapp/github-action@v1.1.2 diff --git a/package.json b/package.json index 506104c..4d21237 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "build:template": "babel src/lib/template.js --out-file lib/lib/template.js && terser lib/lib/template.js -o lib/lib/template.js", "build:lib": "babel src --out-dir lib", "build": "npm run build:lib && npm run build:template", - "test": "jest && npm run spellcheck", + "test": "jest", "spellcheck": "yaspeller-ci README.md", "prepublishOnly": "npm run test && npm run clean && npm run build" },