feat: move docs to github pages (#3296)
* feat(docs): setup nextra * feat(docs): add pages * docs: update introduction page * docs: fix typos * docs: fix links * docs: update README * docs: sync with master * docs: remove old docs * fix(ci/docs): fix typos * fix(ci/docs): fix docs setup * fix(docs): update next config * chore(ci/docs): clean up * chore(docs): add meta tags * chore: apply review changes * docs: move drm into api section * docs: fix next config * docs: fix links * docs: add methods section * chore: sync with main * docs: add missing onAudio events
This commit is contained in:
34
.github/actions/setup-bun/action.yml
vendored
Normal file
34
.github/actions/setup-bun/action.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: setup bun
|
||||
description: Setup bun and install dependencies
|
||||
|
||||
inputs:
|
||||
working-directory:
|
||||
description: 'working directory for action'
|
||||
default: ./
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: 1.0.4
|
||||
|
||||
- name: Cache dependencies
|
||||
id: bun-cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
**/node_modules
|
||||
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/package.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
|
||||
${{ runner.os }}-bun-
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: github.event.inputs.working-directory
|
||||
if: steps.bun-cache.outputs.cache-hit != 'true'
|
||||
run: bun install
|
||||
shell: bash
|
||||
|
Reference in New Issue
Block a user