Skip to content

Publish D2.js nightlies when build inputs change - #3055

Merged
alixander merged 1 commit into
masterfrom
codex/d2js-automatic-nightly
Nov 26, 2026
Merged

alixander merged 1 commit into
masterfrom
codex/d2js-automatic-nightly

Conversation

@alixander

Copy link
Copy Markdown
Collaborator

Human


AI

Publish @d2lang/d2@nightly from protected master on days when D2.js or its WebAssembly inputs have changed. The daily job compares the current tree with the last published nightly, so missed runs catch up. A separate publish job verifies the tested tarball and uses npm trusted publishing. Stable releases continue through the existing staging workflow.

The release instructions cover the one-time npm publisher configuration and first run. The automatic nightly targets the canonical package.

Verified the workflow with actionlint, exercised change detection and stale retries, built a dated prerelease, and ran the TypeScript checks, 58 unit tests, 11 installed-package integration tests, and an npm publish dry run.

  • sent from alixander's Codex

@alixander
alixander enabled auto-merge November 26, 2026 13:18
@alixander
alixander merged commit a29b860 into master Nov 26, 2026
11 checks passed
@alixander
alixander deleted the codex/d2js-automatic-nightly branch November 26, 2026 13:23
alixander added a commit that referenced this pull request Nov 26, 2026
…lies

Master accepts theme names (#3053), unambiguous literals and nested board
names (#3054) and hash-prefixed labels and keyword variable names
(#3056), and publishes D2.js nightlies (#3055). d2compiler/compile.go
imports both master's d2themescatalog and this branch's htmlentity.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant