Install and run a LiveKit server in development mode for end-to-end testing.
Note: replace
<sha>with pinned action or server commit SHA.
- uses: livekit/dev-server-action@<sha>
with:
github-token: ${{ github.token }}Pin a release tag or commit from livekit/livekit:
- uses: livekit/dev-server-action@<sha>
with:
github-token: ${{ github.token }}
version: v1.13.3Build from a specific commit:
- uses: livekit/dev-server-action@<sha>
with:
github-token: ${{ github.token }}
version: <sha>
config: |
logging:
level: debugPass in config parameters to further test specific features:
- uses: livekit/dev-server-action@<sha>
with:
github-token: ${{ github.token }}
version: <sha>
config: |
logging:
level: debug| Name | Required | Default | Description |
|---|---|---|---|
github-token |
Yes | Token used to download releases or resolve the latest tag. | |
version |
No | latest |
Server version: latest, release tag (v1.13.3 or 1.13.3), or commit SHA. |
config |
No | "" |
Server configuration YAML merged over the action's base dev config. |
Linux and Windows download release artifacts for tags. Commit SHAs and pinned tags on
macOS build from source. latest on macOS uses Homebrew.
| Name | Description |
|---|---|
pid |
Process ID of the running server. |
log-path |
Path to the server log file. |