docs: Add comprehensive Switch transpiler documentation #95
This file contains hidden or 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: Documentation Build | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'docs/**' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'docs/**' | |
| jobs: | |
| build: | |
| name: Build Docusaurus | |
| runs-on: | |
| group: databrickslabs-protected-runner-group | |
| labels: linux-ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: docs/lakebridge | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: yarn | |
| cache-dependency-path: docs/lakebridge/yarn.lock # need to put the lockfile path explicitly | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Build website | |
| run: yarn build |