githubnext/blocks-template

Release fails due to trying to run a TypeScript file with Node

dbartholomae opened this issue · 0 comments

Hi there!

I'm experimenting with a block based on this template, and the GitHub Workflow fails because it tries to run a TypeScript file with Node:
https://github.com/startup-cto/technical-debt-block/actions/runs/4339901512/jobs/7577934312#step:8:11

It works if I simply rename the release.ts to release.js in all places.

For context, in my repo I'm using ESM, but I don't think that this is related as Node by default can't run TypeScript files regardless of how you manage modules.