ci: upgrade to bun canary

This commit is contained in:
LukeParkerDev
2026-02-24 10:46:25 +10:00
parent 02c0e9604f
commit bf57596aea
2 changed files with 7 additions and 2 deletions

View File

@@ -22,7 +22,12 @@ runs:
Linux) OS=linux ;;
Windows) OS=windows ;;
esac
echo "url=https://github.com/oven-sh/bun/releases/download/bun-v${V}/bun-${OS}-x64-baseline.zip" >> "$GITHUB_OUTPUT"
if [ "$V" = "canary" ]; then
TAG=canary
else
TAG="bun-v${V}"
fi
echo "url=https://github.com/oven-sh/bun/releases/download/${TAG}/bun-${OS}-x64-baseline.zip" >> "$GITHUB_OUTPUT"
fi
- name: Setup Bun

View File

@@ -4,7 +4,7 @@
"description": "AI-powered development tool",
"private": true,
"type": "module",
"packageManager": "bun@1.3.5",
"packageManager": "bun@canary",
"scripts": {
"dev": "bun run --cwd packages/opencode --conditions=browser src/index.ts",
"dev:desktop": "bun --cwd packages/desktop tauri dev",