Skip to content
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

Add an option to skip NODE_OPTIONS #62

Open
gajus opened this issue Jul 30, 2024 · 2 comments
Open

Add an option to skip NODE_OPTIONS #62

gajus opened this issue Jul 30, 2024 · 2 comments

Comments

@gajus
Copy link

gajus commented Jul 30, 2024

GitHub Actions do not allow adding NODE_OPTIONS to $GITHUB_ENV

https://github.blog/changelog/2023-10-05-github-actions-node_options-is-now-restricted-from-github_env/

We use the same .env file locally (where we need NODE_OPTIONS) and in CI (where we are Okay with it being ignored.

It would be nice if dotenv-action had an option to ignore this variable altogether without triggering all these warnings.

Screenshot 2024-07-30 at 3 03 51 PM
@falti
Copy link
Owner

falti commented Aug 7, 2024

As this is a forbidden parameter, I will just unset it / ignore it from the .env file

@gajus
Copy link
Author

gajus commented Aug 7, 2024

That would be sufficient. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants