Skip to content

Conversation

@runlevel5
Copy link

@runlevel5 runlevel5 commented Sep 29, 2025

Why

The docker runtime has following drawbacks:

  • Runners need to run docker
  • Might run to Rate Limits when fetching images from ECR get throttled

It's the best to use node runtime for this simple GitHub action

Changes

  • Convert install-deps.sh to install-deps.js
  • Run install-deps.js as part of runs.pre hook
  • Refactor the main logic to use @actions/exec
  • Combine src/Action.js and index.js into one index.ts
  • Use @vercel/ncc to build the whole project

@runlevel5 runlevel5 mentioned this pull request Sep 29, 2025
@hoangnd25
Copy link

need to exclude dist/ folder for linting tho

@runlevel5 runlevel5 merged commit e3d3fab into main Sep 29, 2025
2 checks passed
@runlevel5 runlevel5 deleted the experimental branch September 29, 2025 23:42
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.

3 participants