superset/.github/workflows/superset-docs-verify.yml
Evan Rusackas 5392a8c50f
chore(actions): run docs actions on Node 16 to conform with the project (#26868)
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2024-01-29 16:53:38 -07:00

34 lines
773 B
YAML

name: Docs Testing
on:
pull_request:
paths:
- "docs/**"
types: [synchronize, opened, reopened, ready_for_review]
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@v3
with:
persist-credentials: false
submodules: recursive
- name: Set up Node.js 16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: yarn install
run: |
yarn install --check-cache
- name: yarn typecheck
run: |
yarn typecheck
- name: yarn build
run: |
yarn build