{"repo":"oven-sh/setup-bun","free":true,"listed":false,"github":"https://github.com/oven-sh/setup-bun","clone":"git clone https://github.com/oven-sh/setup-bun.git","description":"Set up your GitHub Actions workflow with a specific version of Bun","language":"TypeScript","stars":713,"topics":["actions","bun","setup-bun","github","github-actions"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"setup-bun Download, install, and setup Bun in GitHub Actions. Usage By default, if no version is specified, the action will: 1. Check package.json for the packageManager field (e.g., \"packageManager\": \"bun@1.0.25\" ) 2. If packageManager doesn't exist, check package.json for engines.bun 3. If neither exists or package.json is not found, use latest You can also explicitly specify a version: Using version file Using custom registries You can configure multiple package registries using the registries input. This supports both default and scoped registries with various authentication methods. Registry configuration Registry format options Type Format ------------------------------------ --------------------------------------------------------- Default registry https://registry.example.com/ Default registry with token https://registry.example.com/\\ $TOKEN Scoped registry @scope:https://registry.example.com/ Scoped registry with token @scope:https://registry.example.com/\\ $TOKEN Scoped registry with URL credentials @scope:https://username:$PASSWORD@registry.example.com/ [!IMPORTANT] When using authentication, make sure to set the corresponding environment variables in your workflow steps that need access to the registries. For more information about configuring registries in Bun, see the official documentation. Override download url If you need to override the download URL, you can use the bun-download-url input. Inputs Name Description Default Examples ------------------ ----------","default_branch":null,"files":null,"tree":[],"storefront":"/r/oven-sh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oven-sh/setup-bun/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}