Skip to content

feat: add coverall test #6

feat: add coverall test

feat: add coverall test #6

Workflow file for this run

on: ["push", "pull_request"]
name: Test Coveralls
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: npm install, test:coverage
run: |
npm install
npm run test:coverage
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v1
env:
COVERALLS_SERVICE_NAME: 'GitHub CI'
COVERALLS_GIT_BRANCH: master
COVERALLS_REPO_TOKEN : 6vLkeEOaQa0X4m8MAu1B0l6oMD1uJbI2I
NODE_COVERALLS_DEBUG: 0 # or 1 for verbsoe