Error AtlasError Documentation and Resolution

GitHub Actions blocks NODE_OPTIONS from being set through GITHUB_ENV

Due to security restrictions, GITHUB_ENV cannot be used to set the NODE_OPTIONS environment variable.

GitHub Actions rejected an attempt to set NODE_OPTIONS through GITHUB_ENV because the runner blocks that environment variable for security reasons.

GITHUB_ENV cannot be used to set the NODE_OPTIONS environment variableconfiguration
Due to security restrictions, GITHUB_ENV cannot be used to set the NODE_OPTIONS environment variable.
  • A workflow step writes NODE_OPTIONS into GITHUB_ENV.
  • The workflow tries to pass Node runtime flags through the environment file mechanism.
  • The runner blocks this variable because of security restrictions.
  1. Remove NODE_OPTIONS writes from GITHUB_ENV.
  2. Configure Node runtime behavior using supported workflow or action configuration instead.
  3. If you only need a value for one command, set it directly in that step's shell invocation rather than persisting it through GITHUB_ENV.
GitHub Docs: Workflow commands for GitHub Actions
GitHub Actions GITHUB_ENV cannot be used to set NODE_OPTIONS | Error Atlas