Merge branch 'main' of github.com:nitram509/macaroons.js #16
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: "update code coverage" | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "checkout" | |
uses: actions/checkout@v3 | |
- name: "Use Node.js ${{ matrix.node-version }}" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
- name: "install" | |
run: npm clean-install | |
- name: "npm test" | |
run: npm run coverage | |
- name: "update coverage reports" | |
run: | | |
git config --global user.name 'github-action-update-code-coverage' | |
git config --global user.email 'nitram509@users.noreply.github.com' | |
git add -f ./coverage | |
git commit -m "update code coverage report" | |
git push |