mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
20 lines
448 B
YAML
20 lines
448 B
YAML
name: "Setup Bun"
|
|
description: "Setup Bun with caching and install dependencies"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Mount Bun Cache
|
|
uses: useblacksmith/stickydisk@v1
|
|
with:
|
|
key: ${{ github.repository }}-bun-cache
|
|
path: ~/.bun
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version-file: package.json
|
|
|
|
- name: Install dependencies
|
|
run: bun install
|
|
shell: bash
|