From 3309cacca609b33777c944e371b67ee08e447859 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Wed, 22 Jun 2022 19:02:50 +0300 Subject: [PATCH] [FIX] - COVERALLS TOKEN --- .github/workflows/test.yml | 8 +++++--- package.json | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce31693..64aa021 100755 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,9 +15,6 @@ jobs: matrix: node-version: [ lts/*, latest ] - env: - repo_token: ${{ secrets.COVERALLS_REPO_TOKEN }} - steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -35,6 +32,11 @@ jobs: npm run build --if-present npm test + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.COVERALLS_REPO_TOKEN }} + lint: runs-on: ubuntu-20.04 diff --git a/package.json b/package.json index 5c8b329..b1b3340 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "build": "npm run clean && npm run build:es5 && npm run build:esm", "pack:clean": "cross-env rimraf %npm_package_name%-%npm_package_version%.tgz", "pack:uncompress": "cross-env tar xopf %npm_package_name%-%npm_package_version%.tgz", - "test": "jest --coverage && coveralls < coverage/lcov.info", + "test": "jest --coverage", "lint": "eslint --config .eslintrc.js --ext .ts --ext .js src", "lint:fix": "eslint --fix --config .eslintrc.js --ext .ts --ext .js src", "examples-update": "npm run examples-update:script-tag",