https://github.com/mskelton/setup-bun
Reduce boilerplate when setting up Bun and installing dependencies.
https://github.com/mskelton/setup-bun
bun
Last synced: about 1 year ago
JSON representation
Reduce boilerplate when setting up Bun and installing dependencies.
- Host: GitHub
- URL: https://github.com/mskelton/setup-bun
- Owner: mskelton
- License: isc
- Created: 2023-09-09T21:43:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-23T14:56:51.000Z (over 2 years ago)
- Last Synced: 2024-10-18T08:17:54.162Z (over 1 year ago)
- Topics: bun
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup Bun Action
Reduce boilerplate when setting up [Bun](https://bun.sh) and installing
dependencies.
## Usage
```yaml
- uses: mskelton/setup-bun@v1
```
## Checkout a specific Git ref
```yaml
- uses: mskelton/setup-bun@v1
with:
ref: ${{ github.head_ref }}
```
## Specify Bun version
```yaml
- uses: mskelton/setup-bun@v1
with:
bun-version: '1.0.0'
```
## Customize fetch depth
```yaml
- uses: mskelton/setup-bun@v1
with:
fetch-depth: 0
```
## Pass additional flags to the install command
```yaml
- uses: mskelton/setup-bun@v1
with:
flags: --production
```