Code test coverage reports #265
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | |
- name: Coveralls | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |