mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
* Remove old apache sphinx doc site with refreshed gatsby * remove rando * add licenses * excluing .mdx files from license checks * fixes * Clean up sphinx references * Addressed comments * colors and tweaks * more fixes * add dummy docs/requirements.txt to satisfy stupid fossa * cp .prettierrc * more licenses * minor touchups * reqs * removing old videos * add github buttons * prettier * tweaks * Eugenia/Fix some of the images and modified some of database pages * add subheadernav * add side headers nav and more responsive design for docs * update resources page and other styling updates * linting * tweaks * removing windows and align:center * update resources * remove links and and card hearder * lots of styling tweaks * Tweaks and minor improvements * lint * fix CI * trigger pre-comimt * rererefix CI Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com> Co-authored-by: Eugenia Moreno <eugenia@Eugenias-MBP.fios-router.home> Co-authored-by: Evan Rusackas <evan@preset.io>
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
name: Frontend
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
uses: apache-superset/cached-dependencies@b90713b
|
|
with:
|
|
run: npm-install
|
|
- name: lint
|
|
working-directory: ./superset-frontend
|
|
run: |
|
|
npm run lint
|
|
npm run prettier-check
|
|
- name: unit tests
|
|
working-directory: ./superset-frontend
|
|
run: |
|
|
npm run test -- --coverage
|
|
- name: Upload code coverage
|
|
working-directory: ./superset-frontend
|
|
run: |
|
|
bash <(curl -s https://codecov.io/bash) -cF javascript
|
|
|
|
docs:
|
|
name: build
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
- name: npm install
|
|
working-directory: ./superset-frontend
|
|
run: |
|
|
npm install
|
|
- name: gatsby build
|
|
working-directory: ./superset-frontend
|
|
run: |
|
|
npm run build
|