main admin dashboard #540
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: CI | |
on: | |
# Triggered also on pull request against the develop and main branch | |
pull_request: | |
branches: | |
- main | |
- develop | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
concurrency: test_environment | |
env: | |
BACKEND_URL: ${{secrets.BACKEND_URL}} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16.x' | |
- name: Install all dependencies | |
run: npm install | |
- name: Check linting errors | |
run: npm run lint | |
- name: Run tests and generate coverage reports | |
run: npm run coverage -- -u | |
- name: Sending coveralls report | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |