mirror of
https://github.com/apache/superset.git
synced 2024-09-18 03:29:38 -04:00
32 lines
603 B
YAML
32 lines
603 B
YAML
name: Docs
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "docs/**"
|
|
pull_request:
|
|
paths:
|
|
- "docs/**"
|
|
|
|
jobs:
|
|
docs:
|
|
name: docs
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
|
uses: actions/checkout@v2
|
|
with:
|
|
persist-credentials: false
|
|
- 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
|