Skip to content

Add CI workflow to auto-compile litcoffee files - #10

Draft
AdoHaha with Copilot wants to merge 6 commits into
masterfrom
copilot/prepare-ci-integration
Draft

AdoHaha with Copilot wants to merge 6 commits into
masterfrom
copilot/prepare-ci-integration

Conversation

Copilot AI commented Feb 9, 2026 •

Copy link
Copy Markdown
Contributor

Adds GitHub Actions workflow to automatically compile dh-converter.litcoffee when code is pushed to the repository.

Changes

  • .github/workflows/compile-litcoffee.yml: New workflow that:
    • Installs CoffeeScript and compiles dh-converter.litcoffee on every push/PR
    • Auto-commits compiled output on push events to main/master
    • Fails PRs if compiled file is stale (prevents manual compilation drift)
    • Sets contents: write permission (CodeQL validated)

Behavior

Push to main/master: Compiles → commits → pushes if dh-converter.js changed

Pull request: Compiles → validates → fails if out of sync

This ensures compiled JavaScript stays synchronized with the literate source without manual intervention.

Original prompt

This section details on the original issue you should resolve

<issue_title>ci integration</issue_title>
<issue_description>prepare the repo for ci integration to compile the litfiles when sendind to the repo: something like
$ npm install -g coffeescript && cd /home/runner/work/DH2URDF/DH2URDF && coffee --compile dh-converter.litcoffee
added 1 package in 727ms
<exited with exit code 0>

write some tests also </issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 4 commits February 9, 2026 18:16
Co-authored-by: AdoHaha <2242877+AdoHaha@users.noreply.github.com>
…pin action version

Co-authored-by: AdoHaha <2242877+AdoHaha@users.noreply.github.com>
Co-authored-by: AdoHaha <2242877+AdoHaha@users.noreply.github.com>
Co-authored-by: AdoHaha <2242877+AdoHaha@users.noreply.github.com>
Copilot AI changed the title [WIP] Prepare repository for CI integration and testing Add CI workflow to auto-compile litcoffee files Feb 9, 2026
Copilot AI requested a review from AdoHaha February 9, 2026 18:19

This branch has not been deployed

No deployments
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.

ci integration

2 participants