Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

feat: add release automation

Khuram Niaz6fd8247f8362
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..ef02864
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,24 @@
+name: CI
+
+on:
+ pull_request:
+ branches: [dev, main]
+
+jobs:
+ ci:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 20
+ cache: "npm"
+
+ - run: npm ci
+
+ - run: npx prisma generate
+
+ - run: npm run lint
+
+ - run: npm test
diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml
new file mode 100644
index 0000000..003da21
--- /dev/null
+++ b/.github/workflows/docker-release.yml
@@ -0,0 +1,56 @@
+name: Docker Release
+
+on:
+ push:
+ tags:
+ - "v*.*.*"
+
+env:
+ REGISTRY: ghcr.io
+ IMAGE_NAME: ${{ github.repository }}
+
+permissions:
+ contents: read
+ packages: write
+
+jobs:
+ build-and-push:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v3
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
+
+ - name: Log in to GHCR
+ uses: docker/login-action@v3
+ with:
+ registry: ${{ env.REGISTRY }}
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Extract metadata (tags, labels)
+ id: meta
+ uses: docker/metadata-action@v5
+ with:
+ images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
+ tags: |
+ type=semver,pattern={{version}}
+ type=semver,pattern={{major}}.{{minor}}
+ type=semver,pattern={{major}}
+ type=raw,value=latest
+
+ - name: Build and push
+ uses: docker/build-push-action@v6
+ with:
+ context: .
+ platforms: linux/amd64,linux/arm64
+ push: false
+ tags: ${{ steps.meta.outputs.tags }}
+ labels: ${{ steps.meta.outputs.labels }}
+ cache-from: type=gha
+ cache-to: type=gha,mode=max
diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml
new file mode 100644
index 0000000..da6bafe
--- /dev/null
+++ b/.github/workflows/release-please.yml
@@ -0,0 +1,22 @@
+name: release-please
+
+on:
+ push:
+ branches:
+ - dev
+
+permissions:
+ contents: write
+ pull-requests: write
+
+jobs:
+ release-please:
+ runs-on: ubuntu-latest
+ outputs:
+ release_created: ${{ steps.release.outputs.release_created }}
+ tag_name: ${{ steps.release.outputs.tag_name }}
+ steps:
+ - uses: googleapis/release-please-action@v4
+ id: release
+ with:
+ release-type: node
diff --git a/.gitignore b/.gitignore
index a8c23d8..384c7b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,7 +47,8 @@ dev.db-journal
data/files/resumes
CLAUDE.md
/docs
-.github
+.github/*
+!.github/workflows
.claude
.specify
/specs
diff --git a/docker-compose.yml b/docker-compose.yml
index e48e22a..5f5cdde 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,16 +1,14 @@
services:
app:
+ image: ghcr.io/gsync/jobsync:latest
container_name: jobsync_app
- build:
- context: .
- dockerfile: Dockerfile
ports:
- "3737:3000"
environment:
- NODE_ENV=production
- DATABASE_URL=file:/data/dev.db
- AUTH_SECRET=${AUTH_SECRET:-}
- - ENCRYPTION_KEY=you-encryption-key-here
+ - ENCRYPTION_KEY=${ENCRYPTION_KEY:-you-encryption-key-here}
- NEXTAUTH_URL=${NEXTAUTH_URL:-http://localhost:3737}
- AUTH_TRUST_HOST=${AUTH_TRUST_HOST:-true}
- TZ=${TZ:-America/Edmonton}
@@ -21,3 +19,9 @@ services:
volumes:
- ./jobsyncdb/data:/data
restart: unless-stopped
+ healthcheck:
+ test: ["CMD", "wget", "--spider", "-q", "http://localhost:3737"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 30s