mirror of
https://github.com/apache/superset.git
synced 2024-09-19 12:09:42 -04:00
30 lines
488 B
YAML
30 lines
488 B
YAML
|
name: Docs
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
paths:
|
||
|
- 'docs/**'
|
||
|
pull_request:
|
||
|
paths:
|
||
|
- 'docs/**'
|
||
|
|
||
|
jobs:
|
||
|
docs:
|
||
|
name: build
|
||
|
runs-on: ubuntu-18.04
|
||
|
steps:
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v2
|
||
|
- name: npm install
|
||
|
working-directory: ./docs
|
||
|
run: |
|
||
|
npm install
|
||
|
- name: lint
|
||
|
working-directory: ./docs
|
||
|
run: |
|
||
|
npm run lint
|
||
|
- name: gatsby build
|
||
|
working-directory: ./docs
|
||
|
run: |
|
||
|
npm run build
|