mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-09 03:17:58 +00:00
35 lines
No EOL
632 B
YAML
35 lines
No EOL
632 B
YAML
name: Docusaurus Build Check
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Docusaurus Site
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: TypeScript type check
|
|
run: npm run typecheck
|
|
|
|
- name: Build site
|
|
run: npm run build
|
|
env:
|
|
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} |