denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

Auto detect runtime and set correct build steps in deploy.yml #693

Open they-cloned-me opened 2 months ago

they-cloned-me commented 2 months ago

What problem are you trying to solve?

I recently created a sample project that uses Bun for runtime. The deploy.yml assumed NodeJS to be the runtime, and added this step:

- name: Install Node.js
        uses: actions/setup-node@v4
        with:
          node-version: lts/*

meanwhile I expected it to be

 - name: Install Bun
        uses: oven-sh/setup-bun@v1

Describe the solution you'd like

It would be cool to auto detect the project’s runtime and set the correct build steps—just like the framework is auto detected (cool feature 👌) e.g,

Alternatively, on the Deno dashboard, the deploy.yml that Deno will add to the repo could be shown to the user before they create the project, giving them the ability to make these quick adjustments.

Thanks 🦕

Describe alternatives you've considered

Manually adjust the build step on my repo

Documentation, Adoption, Migration Strategy

No response