[docs][without-docker]: make the docs more verbose wherever needed #298
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Verify build (docs)" | |
# Preflight build of docs. This allows us to ensure that yarn build is | |
# succeeding before we merge the PR into main. | |
on: | |
# Run on every pull request (open or push to it) that changes docs/ | |
pull_request: | |
paths: | |
- "docs/**" | |
- ".github/workflows/docs-verify-build.yml" | |
jobs: | |
verify-build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: docs | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup node and enable yarn caching | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
cache-dependency-path: "docs/yarn.lock" | |
- name: Install dependencies | |
run: yarn install | |
- name: Build production site | |
run: yarn build |