Skip to content

chore: move to monorepo with bun #399

chore: move to monorepo with bun

chore: move to monorepo with bun #399

Workflow file for this run

name: Test Docs build
on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/test-build-docs.yml'
- 'docs/**'
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install npm dependencies (with bun)
run: bun install
- name: Cache build
uses: actions/cache@v4
with:
path: |
docs/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}
${{ runner.os }}-nextjs-
- name: Build docs
run: |
bun --cwd docs build
touch docs/out/.nojekyll