Dashboard › craft › discover-location.js workflow discovery
01a0811d-8279-70b6-a55d-0598bc28fa3cChose runnable src/publish/discover-location.js over embedded JavaScript in publish.yml Bash/YAML for workspace discovery. Inline workflow code looks local and convenient, but is difficult to test, reuse, validate, and review; the Node entry point centralizes JSON validation and yields focused unit coverage.