Fixed entry point so it can receive a function or an object with a ha… #23
This file contains hidden or 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: Coverage Status | |
| on: ["push", "pull_request"] | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Use Node.js 18.x | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18.x | |
| - name: npm install, make test-coverage | |
| run: | | |
| npm install | |
| npm run test-ci | |
| - name: Coveralls | |
| uses: coverallsapp/github-action@master | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |