docs(website): add Starlight documentation foundation #1
Workflow file for this run
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: Website | |
| on: | |
| pull_request: | |
| paths: | |
| - "website/**" | |
| - "package.json" | |
| - ".github/workflows/website.yml" | |
| push: | |
| branches: | |
| - main | |
| - docs/starlight-website | |
| paths: | |
| - "website/**" | |
| - "package.json" | |
| - ".github/workflows/website.yml" | |
| concurrency: | |
| group: website-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Check and build docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 | |
| with: | |
| bun-version: 1.3.14 | |
| - name: Install website dependencies | |
| run: bun install --cwd website --frozen-lockfile | |
| - name: Check website | |
| run: bun run website:check | |
| - name: Build website | |
| run: bun run website:build |