Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
aca7f17
feat/vpet-dev-tools (#1)
jcendal Oct 6, 2026
5d3ed03
ci: publish merged pull requests through the existing release workflo…
jcendal Oct 6, 2026
a772a28
chore(opencode release): v0.2.0
github-actions[bot] Oct 6, 2026
ff2cd44
chore(opencode): bump v0.2.1-dev.0
github-actions[bot] Oct 6, 2026
53f91bd
chore(cursor release): v0.2.0
github-actions[bot] Oct 6, 2026
c558715
chore(cursor): bump v0.2.1-dev.0
github-actions[bot] Oct 6, 2026
78d4754
fix(cursor-digital-pet): point README images at the package directory…
jcendal Oct 6, 2026
8dbb480
chore(cursor release): v0.2.1
github-actions[bot] Oct 6, 2026
b95da51
chore(cursor): bump v0.2.2-dev.0
github-actions[bot] Oct 6, 2026
a44dea8
chore(opencode release): v0.2.1
github-actions[bot] Oct 6, 2026
d1f5b96
chore(opencode): bump v0.2.2-dev.0
github-actions[bot] Oct 6, 2026
64dc941
chore(cursor release): v0.2.2
github-actions[bot] Oct 6, 2026
4ec738d
chore(cursor): bump v0.2.3-dev.0
github-actions[bot] Oct 6, 2026
6f702ec
chore(cursor release): v0.2.3
github-actions[bot] Oct 6, 2026
bf77b4e
chore(cursor): bump v0.2.4-dev.0
github-actions[bot] Oct 6, 2026
810000b
chore(opencode release): v0.2.2
github-actions[bot] Oct 6, 2026
84194b9
chore(opencode): bump v0.2.3-dev.0
github-actions[bot] Oct 6, 2026
ff30658
Ci/split release publish (#4)
jcendal Oct 6, 2026
0184a0e
chore(digital-pet-core): mark stages for a release probe (#5)
jcendal Oct 6, 2026
deb369e
chore(cursor release): v0.2.4
github-actions[bot] Oct 6, 2026
2aec42f
chore(cursor): bump v0.2.5-dev.0
github-actions[bot] Oct 6, 2026
42253c1
chore(opencode release): v0.2.3
github-actions[bot] Oct 6, 2026
2d67a57
chore(opencode): bump v0.2.4-dev.0
github-actions[bot] Oct 6, 2026
4979ee0
Feat/cursor digidex (#6)
jcendal Oct 6, 2026
2e92f98
chore(cursor release): v0.3.0
github-actions[bot] Oct 6, 2026
6db3d29
chore(cursor): bump v0.3.1-dev.0
github-actions[bot] Oct 6, 2026
0a51beb
feat(cursor): add generation history panel and shared LCD webview UI …
jcendal Oct 6, 2026
2af8398
chore(cursor release): v0.4.0
github-actions[bot] Oct 6, 2026
49781b9
chore(cursor): bump v0.4.1-dev.0
github-actions[bot] Oct 6, 2026
6042536
Feat/cursor pet display (#8)
jcendal Oct 6, 2026
10db4a7
chore(cursor release): v0.5.0
github-actions[bot] Oct 6, 2026
bf7b302
chore(cursor): bump v0.5.1-dev.0
github-actions[bot] Oct 6, 2026
98c4870
chore(opencode release): v0.3.0
github-actions[bot] Oct 6, 2026
5bee7a3
chore(opencode): bump v0.3.1-dev.0
github-actions[bot] Oct 6, 2026
dc92d90
feat(web): add local companion and shared digital-pet-webviews package
jcendal Oct 7, 2026
505ef74
feat(web): add browser saves, pairing, and PWA documentation
jcendal Oct 7, 2026
2e4e296
feat(web): add options panel, manual sync, and save source choice
jcendal Oct 7, 2026
5fa0e58
feat(web): add Digital World exploration and digital-pet-fields
jcendal Oct 7, 2026
aba24a9
feat(web): add scrolling partner landscape and motion toggle
jcendal Oct 7, 2026
7b0c8e5
chore(web): remove unused moving-landscape screenshot
jcendal Oct 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
160 changes: 0 additions & 160 deletions .github/workflows/cd.yml

This file was deleted.

44 changes: 22 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: CI
name: Validate monorepo

on:
pull_request:
push:
branches:
- main

permissions:
contents: read
Expand All @@ -15,35 +12,38 @@ concurrency:

jobs:
validate:
name: Check, test and package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Check out source
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6

- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
- name: Set up Node.js
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: 24
node-version: 24.11.0
cache: npm

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.5

- name: Install dependencies
run: bun install --frozen-lockfile
run: npm ci

- name: Format
run: bun run format:check
- name: Check formatting, lint and types
run: npm run check

- name: Lint
run: bun run lint
- name: Run unit tests
run: npm run test

- name: CI checks
run: bun run check
- name: Run persistence tests
run: npm run test:persistence

- name: Tests
run: bun test
- name: Inspect npm package
run: npm pack --workspace @jcendal/opencode-digital-pet --dry-run --json

- name: Prepack
run: bun run prepack

- name: Pack
run: npm pack --dry-run --json
- name: Package Cursor VSIX
working-directory: packages/cursor-digital-pet
run: npm run package
85 changes: 85 additions & 0 deletions .github/workflows/release-after-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Release after PR merge
run-name: Release merged PR #${{ github.event.pull_request.number }}

on:
pull_request_target:
types:
- closed
branches:
- main

permissions:
contents: read
pull-requests: read
actions: write

concurrency:
group: digital-pet-auto-release
cancel-in-progress: false
queue: max

jobs:
plan:
name: Select packages and versions
if: github.repository == 'jcendal/digital-pet' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
outputs:
release_opencode: ${{ steps.plan.outputs.release_opencode }}
opencode_bump: ${{ steps.plan.outputs.opencode_bump }}
release_cursor: ${{ steps.plan.outputs.release_cursor }}
cursor_bump: ${{ steps.plan.outputs.cursor_bump }}
steps:
- name: Check out merged main
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
ref: main
fetch-depth: 0
fetch-tags: true

- name: Set up Node.js
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: 24.11.0
cache: npm

- name: Install release planner dependencies
run: npm ci --ignore-scripts

- name: Plan releases from the merged PR
id: plan
env:
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
set -euo pipefail
gh api --paginate "repos/$GITHUB_REPOSITORY/pulls/$PR_NUMBER/files" \
--jq '.[].filename' > "$RUNNER_TEMP/merged-pr-files.txt"
git tag --list | node --experimental-strip-types scripts/plan-merged-release.ts \
"$RUNNER_TEMP/merged-pr-files.txt"

publish:
name: Publish selected packages
needs: plan
if: needs.plan.outputs.release_opencode == 'true' || needs.plan.outputs.release_cursor == 'true'
runs-on: ubuntu-latest
steps:
- name: Check out release orchestrator
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
ref: main

- name: Set up Node.js
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: 24.11.0
package-manager-cache: false

- name: Start and monitor product releases
env:
GITHUB_TOKEN: ${{ github.token }}
RELEASE_OPENCODE: ${{ needs.plan.outputs.release_opencode }}
OPENCODE_BUMP: ${{ needs.plan.outputs.opencode_bump }}
RELEASE_CURSOR: ${{ needs.plan.outputs.release_cursor }}
CURSOR_BUMP: ${{ needs.plan.outputs.cursor_bump }}
RELEASE_NOTE: ${{ github.event.pull_request.title }}
run: node --experimental-strip-types scripts/dispatch-merged-releases.ts
Loading