feat: update CI/CD to use Bun
Pull Request / unit-tests (pull_request) Failing after 1m25s
Pull Request / acceptance-tests (pull_request) Has been skipped
Pull Request / analyze-bump-type (pull_request) Has been skipped

- Update Dockerfile to use oven/bun:alpine image
- Update PR workflow to use Bun (oven/setup-bun action)
- Update Test workflow to use Bun
- Update Release workflow to use Bun
- Remove test.yml workflow (redundant with PR workflow)
- Update Docker build commands to use Bun
- Docker build verified working
This commit is contained in:
2026-04-01 00:20:49 -07:00
parent 24db43eb7f
commit 178aad7884
5 changed files with 61 additions and 54 deletions
+8 -3
View File
@@ -63,6 +63,11 @@ jobs:
fi
fi
- name: Setup Bun
uses: oven/setup-bun@v2
with:
bun-version: latest
- name: Bump version
id: version
run: |
@@ -70,10 +75,10 @@ jobs:
echo "Bumping version: $BUMP"
# Run the bump script
node scripts/bump-version.js "$BUMP" --yes
bun run scripts/bump-version.js "$BUMP" --yes
# Get new version
NEW_VERSION=$(node -p "require('./package.json').version")
NEW_VERSION=$(bun -e "console.log(require('./package.json').version)")
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
echo "New version: $NEW_VERSION"
@@ -123,7 +128,7 @@ jobs:
docker run --rm \
-e DATABASE_URL="postgresql://user:pass@localhost:5432/dummy" \
${{ env.IMAGE_NAME }}-test:${{ steps.version.outputs.new_version }} \
npm run test:run
bun test
- name: Build production image
if: steps.commit.outputs.committed == 'true'