mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
Ignore '/docs' on some GH actions, give docs its own action (#10949)
* 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
This commit is contained in:
30
.github/workflows/superset-docs.yml
vendored
Normal file
30
.github/workflows/superset-docs.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
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
|
||||
Reference in New Issue
Block a user