Skip to content

Update CI build setup #100

Update CI build setup

Update CI build setup #100

Workflow file for this run

name: Code Coverage
on:
push:
branches: [ master ]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 'latest'
- name: Install dependencies
run: yarn install
- name: Report coverage
env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
COVERALLS_SERVICE_NAME: GitHub Actions
run: yarn run jest --coverage && yarn run coveralls --verbose < coverage/lcov.info