name: Code Coverage on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Use Node.js 10.x uses: actions/setup-node@v1 with: node-version: 10.x - name: install and coverage run: | yarn yarn coverage env: CI: true - name: Coveralls uses: coverallsapp/github-action@master with: github-token: ${{ secrets.github_token }}