mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
30 lines
662 B
YAML
30 lines
662 B
YAML
|
name: Docs Testing
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
paths:
|
||
|
- "docs/**"
|
||
|
types: [synchronize, opened, reopened, ready_for_review]
|
||
|
jobs:
|
||
|
build-deploy:
|
||
|
name: Build & Deploy
|
||
|
runs-on: ubuntu-20.04
|
||
|
defaults:
|
||
|
run:
|
||
|
working-directory: docs
|
||
|
steps:
|
||
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||
|
uses: actions/checkout@v3
|
||
|
with:
|
||
|
persist-credentials: false
|
||
|
submodules: recursive
|
||
|
- name: yarn install
|
||
|
run: |
|
||
|
yarn install --check-cache
|
||
|
- name: yarn typecheck
|
||
|
run: |
|
||
|
yarn typecheck
|
||
|
- name: yarn build
|
||
|
run: |
|
||
|
yarn build
|