Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 2 months ago
JSON representation

Reduce boilerplate when setting up Bun and installing dependencies.

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
```