Skip to content

docs(readme): add badges #219

docs(readme): add badges

docs(readme): add badges #219

Workflow file for this run

name: CI
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
create:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Backend
run: cd backend && yarn && mkdir out
- name: Install Frontend
run: cd frontend && yarn
- name: Build frontend
run: cd frontend && yarn run build
- name: Compile
run: cd backend && yarn run compile
- name: Pack
run: cd backend && yarn run pack
- name: Test
run: yarn run test
- name: Publish code coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: "**/cobertura-coverage.xml"
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
verbose: true
- name: Create Release
if: startsWith(github.ref, 'refs/tags/v')
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
if: startsWith(github.ref, 'refs/tags/v')
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: backend/schema-visualization-*
tag: ${{ github.ref }}
overwrite: true
file_glob: true