Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Req: Loading env file from within test #3795

Closed
kjs3 opened this issue Dec 23, 2024 · 0 comments
Closed

Feature Req: Loading env file from within test #3795

kjs3 opened this issue Dec 23, 2024 · 0 comments

Comments

@kjs3
Copy link

kjs3 commented Dec 23, 2024

This doesn't work:

#!/usr/bin/env sh

# MISE env={_.file = ".env"}

echo "NODE ENV: $NODE_ENV"

But it would be fantastic if it did! 🙂

Or some other way to dynamically load vars so my various .env files can be shared with tasks.

Importantly, I need different tasks to load different .env files within a monorepo.

Repository owner locked and limited conversation to collaborators Dec 23, 2024
@jdx jdx converted this issue into discussion #3796 Dec 23, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

1 participant