message: fix code coverage calculation
diff: @@ -35,7 +35,7 @@ jobs:
  uses: actions/setup-node@v1
  with:
  node-version: 10.x
  - - run: yarn build:test
  + - run: COVERAGE=true yarn build:test
  - uses: actions/upload-artifact@v2
  with:
  name: dist
  @@ -76,5 +76,28 @@ jobs:
  path: ./node_modules
  key: cached_node_modules_${{ hashFiles('**/yarn.lock') }}
  restore-keys: cached_node_modules_
  - - run: yarn test:cover --path ./dist
  - - run: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
  + - run: COVERAGE=true yarn test --path ./dist
  + - name: Save code coverage artifact
  + uses: actions/upload-artifact@v2
  + with:
  + name: coverage-info
  + path: ./coverage/lcov.info
  +
  + send-coverage:
  + runs-on: ubuntu-latest
  + needs: test
  + steps:
  + - name: Set up Node.js
  + uses: actions/setup-node@v1
  + with:
  + node-version: 10.x
  + - uses: actions/download-artifact@v2
  + with:
  + name: coverage-info
  + path: ./lcov.info
  + - uses: actions/cache@v2
  + with:
  + path: ./node_modules
  + key: cached_node_modules_${{ hashFiles('**/yarn.lock') }}
  + restore-keys: cached_node_modules_
  + - run: cat ./lcov.info | ./node_modules/coveralls/bin/coveralls.js
  