Files
HRM/.gitea/workflows/ci.yml
T
eewing 69c6b1a4d4
CI / build (push) Failing after 3s
Update CI workflow to install Bun directly via script
- Replaced the Bun setup action with a script to install Bun and update the PATH.
- Ensured Bun's binary directory is added to the GitHub environment for subsequent steps.
2026-02-17 09:37:25 -06:00

33 lines
614 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
run: |
curl -fsSL https://bun.sh/install | bash
echo "$HOME/.bun/bin" >> $GITHUB_PATH
echo "PATH=$HOME/.bun/bin:$PATH" >> $GITHUB_ENV
- name: Install dependencies
run: bun install
- name: Sync SvelteKit
run: bunx svelte-kit sync
- name: Type check
run: bun run check
- name: Build
run: bun run build