Files
Chris Farhood f88687c182
build / test (push) Successful in 20s
build / build (push) Successful in 14s
fix: pin better-auth 1.6.23, drop stale CLI, programmatic migrations, fix CI
- Explicitly track latest core (1.6.23); the @better-auth/cli lags at 1.4.21 and
  pulled a second core copy — replaced with a getMigrations() script on the same
  version (src/migrate.ts).
- CI build job matches the proven pattern (no setup-buildx; plain build/push).
2026-07-05 16:20:40 -04:00

36 lines
926 B
YAML

name: build
on:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- run: npm ci
- run: npm run typecheck
build:
needs: test
runs-on: ubuntu-latest
timeout-minutes: 20
env:
IMAGE: git.farh.net/farhoodlabs/intervalsicu-mcp-auth
DOCKER_BUILDKIT: "1"
steps:
- uses: actions/checkout@v4
- name: Login to registry
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.farh.net -u cpfarhood --password-stdin
- name: Build image
run: docker build --progress=plain -t "${IMAGE}:latest" -t "${IMAGE}:${GITHUB_SHA}" .
- name: Push image
run: |
docker push "${IMAGE}:latest"
docker push "${IMAGE}:${GITHUB_SHA}"