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:
parent
4f607371e5
commit
d4f33cc9de
|
|
@ -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
|
||||
|
|
@ -1,6 +1,12 @@
|
|||
name: E2E
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
Cypress:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
name: Frontend
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -25,18 +31,3 @@ jobs:
|
|||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash) -cF javascript
|
||||
|
||||
docs:
|
||||
name: build
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
npm install
|
||||
- name: gatsby build
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
npm run build
|
||||
|
|
|
|||
|
|
@ -1,7 +1,13 @@
|
|||
# Python unit tests
|
||||
name: Python
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
name: Hive
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
test-postgres-hive:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
name: Presto
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
test-postgres-presto:
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ const NotFoundPage = () => (
|
|||
<Layout>
|
||||
<SEO title="404: Not found" />
|
||||
<h1>NOT FOUND</h1>
|
||||
<p>You just hit a route that does not exist... the sadness.</p>
|
||||
<p>Sorry, you've requested a page that does not exist.</p>
|
||||
</Layout>
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue