Skip to content

initial commit

initial commit #49

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