Audit env
This workflow ensures your local environment has all the necessary keys defined in .env.example.
- Comparison:
- It reads
apps/platform/.env.exampleto get the list of required keys. - It reads
apps/platform/.env.local(keys only) to see what is defined. -
It reports any missing keys.
-
Drift Detection:
-
If
.env.localhas keys that are NOT in.env.example, it suggests adding them to the example (to keep the team in sync). -
Value Validation:
- Checks that
NODE_ENVis valid. - Checks that
NEXT_PUBLIC_keys have values.