fix name #15
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: github-actions | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| - run: make install | |
| - name: run tests | |
| run: make lint | |
| - name: run tests | |
| run: make test | |
| - name: Test & publish code coverage | |
| # Publish code coverage on Code Climate | |
| # https://github.com/paambaati/codeclimate-action | |
| uses: paambaati/[email protected] | |
| # Add Code Climate secret key | |
| env: | |
| CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
| with: | |
| coverageCommand: make test-coverage | |
| debug: true |