---
title: "Hello Bun: How Sveld now deploys 2x faster on GitHub and Render"
description: "Migrating the Sveld open source library (TypeScript definitions and docs for Svelte components) from Yarn and Vitest to Bun v1.1.3 roughly halved CI/CD time on GitHub Actions and Render."
url: "https://swe.quest/articles/hello-bun-how-sveld-now-deploys-2x-faster-on-github-and-render-adff696862e96974"
canonical: "https://render.com/blog/hello-bun-deploy-2x-faster-on-github-render"
source: "Render"
published: "2024-04-23"
difficulty: "medium"
kind: "How-to"
reading_minutes: 11
tags: ["javascript","typescript","ci-cd","build-systems","performance"]
---

# Hello Bun: How Sveld now deploys 2x faster on GitHub and Render

A post on [Render](https://swe.quest/sources/render.md), published 2024-04-23, 11 min read, How-to. Original: [https://render.com/blog/hello-bun-deploy-2x-faster-on-github-render](https://render.com/blog/hello-bun-deploy-2x-faster-on-github-render)

## Summary

Migrating the Sveld open source library (TypeScript definitions and docs for Svelte components) from Yarn and Vitest to Bun v1.1.3 roughly halved CI/CD time on GitHub Actions and Render. Most of the gain came from package installs, which were 2-20x faster on GitHub runners and about 16x faster locally. Unit tests ran 1.6-2.2x faster because Bun executes TypeScript natively, and Render static-site deploys dropped from 124s to 50s. The migration has a few gotchas: reserved commands like \`bun build\`, required file extensions, the \`--bun\` flag needed to run packages under Bun, and pinning the version in the setup-bun Action to get caching. tsc and npm remain in the stack because Bun lacks type checking, CJS bundling and npm provenance publishing.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- npm/Yarn package management ([easy posts on Engineering management](https://swe.quest/tags/engineering-management.md?difficulty=easy))
- GitHub Actions workflows ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))
- Jest-style test APIs ([easy posts on API design](https://swe.quest/tags/api-design.md?difficulty=easy))

## Keywords

Bun, Sveld, Yarn, Vitest, GitHub Actions, Render, hyperfine

## Related posts

- [Bun v1.3.1](https://swe.quest/articles/bun-v1-3-1-ee365f019ab94793.md): Bun · 2025-10-22 · Medium · 9 min read · JavaScript, Runtimes & VMs, Build systems, Testing, Developer tools
  Bun v1.3.1 makes \`bun build\` up to 2x faster for symlink-heavy projects (isolated linker, pnpm).
- [The Bun Bundler](https://swe.quest/articles/the-bun-bundler-1ad40102ca8fa3b8.md): Bun · 2023-05-16 · Medium · 10 min read · JavaScript, Build systems, Developer tools, Web performance
  Bun now ships a native bundler in beta, exposed as the \`bun build\` CLI and the \`Bun.build()\` JavaScript API.
- [Bun v1.1.3](https://swe.quest/articles/bun-v1-1-3-00e62e32c59d26f7.md): Bun · 2024-04-08 · Medium · 3 min read · JavaScript, Runtimes & VMs, Build systems, Performance engineering
  Bun v1.1.3 makes bun install up to 50% faster on Windows (about 1.6x in a hyperfine benchmark on a Next/SvelteKit project) by parallelizing some file copying and hardlinking.
- [Bun v1.3.2](https://swe.quest/articles/bun-v1-3-2-22771baae9f86920.md): Bun · 2025-11-08 · Medium · 12 min read · JavaScript, Runtimes & VMs, Build systems, Testing
  Bun 1.3.2 restores hoisted installs as the default for existing workspaces and adds a lockfile configVersion field so future default changes don't break existing projects.
- [Bun v1.2.20](https://swe.quest/articles/bun-v1-2-20-d97fc960ddc0e406.md): Bun · 2025-08-10 · Medium · 10 min read · JavaScript, Runtimes & VMs, Testing, Build systems
  Bun v1.2.20 fixes 141 issues and cuts idle CPU usage by no longer over-scheduling the garbage collector.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
