mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
1f27b62d51
* Use git submodules for (securely) using third party Github Actions List of repositories added as submodules: EndBug/latest-tag@latest morrisoncole/pr-lint-action@v1.4.1 trilom/file-changes-action@v1.2.4 styfle/cancel-workflow-action@0.6.0 apache-superset/cached-dependencies@b90713b unsplash/comment-on-pr@v1.2.0
32 lines
604 B
YAML
32 lines
604 B
YAML
name: Docs
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "docs/**"
|
|
pull_request:
|
|
paths:
|
|
- "docs/**"
|
|
|
|
jobs:
|
|
docs:
|
|
name: build
|
|
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
|