Skip to content

[WIP] Rewrite action to be docker based without requiring compiled Node.js files#10

Open
Claude wants to merge 10 commits into
mainfrom
claude/rewrite-action-docker-based
Open

[WIP] Rewrite action to be docker based without requiring compiled Node.js files#10
Claude wants to merge 10 commits into
mainfrom
claude/rewrite-action-docker-based

Conversation

@Claude

@Claude Claude AI commented May 24, 2026

Copy link
Copy Markdown

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>rewrite this action to be docker based, not nneding to have compiled nodejs files</issue_title>
<issue_description>rewrite this action to be docker based, not nneding to have compiled nodejs files</issue_description>

Comments on the Issue (you are @claude[agent] in this section)

Claude AI and others added 4 commits May 24, 2026 22:11
- Add Dockerfile for building and running the action
- Add entrypoint.sh script
- Update action.yml to use Docker instead of Node.js
- Add .dockerignore to exclude unnecessary files
- Update .gitignore to exclude dist directory

Agent-Logs-Url: https://github.com/shoptet/pr-test-coverage/sessions/8afcd7b3-fa00-4d86-8db1-89fc1c727595

Co-authored-by: simonjur <118170619+simonjur@users.noreply.github.com>
The dist directory is no longer needed as the action is now Docker-based and builds inside the container

Agent-Logs-Url: https://github.com/shoptet/pr-test-coverage/sessions/8afcd7b3-fa00-4d86-8db1-89fc1c727595

Co-authored-by: simonjur <118170619+simonjur@users.noreply.github.com>
Add development section explaining Docker-based approach and how to test changes

Agent-Logs-Url: https://github.com/shoptet/pr-test-coverage/sessions/8afcd7b3-fa00-4d86-8db1-89fc1c727595

Co-authored-by: simonjur <118170619+simonjur@users.noreply.github.com>
Git is not needed in the container as GitHub Actions checks out the repository before running the Docker container

Agent-Logs-Url: https://github.com/shoptet/pr-test-coverage/sessions/8afcd7b3-fa00-4d86-8db1-89fc1c727595

Co-authored-by: simonjur <118170619+simonjur@users.noreply.github.com>
@simonjur simonjur marked this pull request as ready for review May 24, 2026 22:29
Claude AI and others added 2 commits May 24, 2026 22:36
- Removed npm run build from Dockerfile
- Added tsx as global dependency for TypeScript execution
- Updated entrypoint.sh to run src/index.ts directly
- Simplifies Docker image build and removes need for compiled files

Agent-Logs-Url: https://github.com/shoptet/pr-test-coverage/sessions/5a728d56-6d6c-48a5-801f-d943473ecc9c

Co-authored-by: simonjur <118170619+simonjur@users.noreply.github.com>
Updated development documentation to clarify that TypeScript is now executed directly with tsx instead of being compiled during Docker build

Agent-Logs-Url: https://github.com/shoptet/pr-test-coverage/sessions/5a728d56-6d6c-48a5-801f-d943473ecc9c

Co-authored-by: simonjur <118170619+simonjur@users.noreply.github.com>
- Removed tsx installation from Dockerfile
- Updated entrypoint to use node --experimental-strip-types
- Updated README to reflect Node.js 24 native TypeScript support
- Simplest possible setup: just Node.js running TypeScript directly

Agent-Logs-Url: https://github.com/shoptet/pr-test-coverage/sessions/e4cbce2a-9232-409c-aa85-edc8186f105a

Co-authored-by: simonjur <118170619+simonjur@users.noreply.github.com>
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.

rewrite this action to be docker based, not nneding to have compiled nodejs files

2 participants