initial commit #49
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: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- development | |
push: | |
branches: | |
- production | |
jobs: | |
test: | |
name: Ensure that every tests passes and the build has the expected files | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Dependencies | |
run: npm install | |
# - name: Test | |
# run: npm test | |
# report: | |
# name: Sends the coverage report data to Coveralls | |
# if: ${{ github.ref == 'refs/heads/production' }} | |
# runs-on: ubuntu-20.04 | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v3 | |
# - name: Token | |
# run: 'echo "repo_token: ${{ secrets.COVERALLS_TOKEN }}" > .coveralls.yml' | |
# - name: Dependencies | |
# run: npm install | |
# - name: Test | |
# run: npm run coverage | |
# - name: Report | |
# run: npm run coverage-report |