i just made a new workflow:
export default defineComponent({
async run({ steps, $ }) {
console.log(“Hello, World!”);
console.log(“api_Key:”, process.env.ELVANTO_API_KEY)
},
})
and it worked!
from the dcoumentation:
TIP
process.env
will always return undefined
when used outside of the defineComponent
export.
I will see what my other workflow does, maybe this is the issue (or an issue).