Skip to content

Code test coverage reports #277

Code test coverage reports

Code test coverage reports #277

name: Continous integration
on:
workflow_dispatch:
pull_request:
# only PR for master
branches:
- master
- next
jobs:
continous_integration:
runs-on: macOS-latest
steps:
- name: Checkout files
uses: actions/checkout@v2
- name: NodeJS setup
uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: Installing dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test+coverage
- name: Code Coverage Report
uses: romeovs/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
filter-changed-files: true
#delete-old-comments: true
- name: Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}