Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Docs
on:
pull_request:
paths:
- 'packages/audiodocs/**'

jobs:
build-docs:
name: Build docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc

- name: Setup Yarn
uses: mskelton/setup-yarn@v2

- name: Install dependencies and build the docs
run: |
cd packages/audiodocs
yarn install --frozen-lockfile
yarn build
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import clsx from 'clsx';
import { useCopyToClipboard } from 'usehooks-ts';

// @ts-ignore
import BrowserOnly from '@docusaurus/BrowserOnly';
// @ts-ignore
import CodeBlock from '@theme/CodeBlock';
Expand Down
Loading