mirror of
https://github.com/apache/superset.git
synced 2024-09-19 12:09:42 -04:00
d4f33cc9de
* ignore docs on several actions, give docs its own action * Random doc change to see if the new action runs. * umm... not paths-ignore, paths! * eof fix * enabling typescript checking on docs
31 lines
521 B
YAML
31 lines
521 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: Install dependencies
|
|
- 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
|