Set up a Playwright or Cypress project the way teams do: config and credentials in .env, saved on GitHub.
What you will practise: .env files · dotenv · config · secrets · GitHub Actions
Put your base URL and demo login in .env, read them in your tests, then push the project to GitHub with the values stored as repository secrets.
Create the project, add a .env file and read BASE_URL in your playwright.config or cypress.config.
Sign in to the demo page with DEMO_EMAIL and DEMO_PASSWORD from .env — never hard-code them.
Ignore .env, commit .env.example, and store the values as GitHub Actions secrets used by your workflow.