GitHub Actions - Deno support

I am curious to know If the Deno run time environment is supported already for developing actions just like how we can develop an action using Node.js?.
Can anyone give me some insights on this front? :slight_smile:

Thank you very much in Advance.

1 Like
2 Likes

@ibakshay,

Currently, the supported languages to develop actions are Docker and JavaScript. Deno is not supported.

If you want to use Deno to develop an action, as the workaround, you can try to use the Composite run steps actions.
You can add or develop some Deno scripts you require in the repository of your customized Composite action, and in the run steps of the Composite action to execute these scripts.

Due to Deno is not pre-installed on the virtual environments for GitHub-hosted runners, before execute your customized Composite action to run the Deno scripts, you need to use the setup-deno action (as mentioned by @uncodable) to install Deno in the workflow.

2 Likes

Hi @brightran, thank you very much for the detailed response. I really appreciate it… I will try sometime this weekend and will get back to you If I am missing something :slight_smile: -

1 Like

You’re welcome, @ibakshay.
Any update, feel free to tell me.

1 Like

Hi guys. Great stuff :slight_smile:

Would it be cool to save some execution time by ensuring that the Deno RTE is already preinstalled in the GitHub Actions Runner / Virtual Machine just like NodeJS RTE is preinstalled.

Deno is about to rock imo :slight_smile:

Example Repo for Demo / Test Reasons:

2 Likes