mirror of
https://github.com/apache/superset.git
synced 2024-09-19 12:09:42 -04:00
5930bbb5d3
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
944 B
YAML
40 lines
944 B
YAML
name: Docs Testing
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "docs/**"
|
|
types: [synchronize, opened, reopened, ready_for_review]
|
|
|
|
# cancel previous workflow jobs for PRs
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-deploy:
|
|
name: Build & Deploy
|
|
runs-on: ubuntu-20.04
|
|
defaults:
|
|
run:
|
|
working-directory: docs
|
|
steps:
|
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
|
uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
submodules: recursive
|
|
- name: Set up Node.js 16
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '16'
|
|
- name: yarn install
|
|
run: |
|
|
yarn install --check-cache
|
|
- name: yarn typecheck
|
|
run: |
|
|
yarn typecheck
|
|
- name: yarn build
|
|
run: |
|
|
yarn build
|