A minimal Vite + React TypeScript app with a checklist UI to guide a GitHub Actions demo. Includes a test suite (Vitest + Testing Library).
- Create CI workflow manually (run tests on push/PR)
- Add Dependency Review using Marketplace action
- Push code to trigger workflows
- Inspect Actions runs and debug with logs
- Add Azure deployment workflow (Marketplace)
- Push again and observe end-to-end automation
npm install
npm run dev
# open http://localhost:5173
npm run test # run test suite
npm run test:watch # watch mode
npm run build && npm run preview # preview production build- CI:
.github/workflows/ci.yml— Node setup + install + tests - Dependency Review:
.github/workflows/dependency-review.yml— usesgithub/dependency-review-action - Azure Deploy:
.github/workflows/azure-static-web-apps.yml— deploy via Azure Static Web Apps action
- Create a Static Web App in Azure portal
- Obtain the deployment token and add repo secret:
AZURE_STATIC_WEB_APPS_API_TOKEN - Adjust
app_location/output_locationin workflow if you change paths
- Create CI workflow live, commit, push → shows test run
- Add dependency-review workflow via Marketplace, commit, push PR → shows review
- Introduce a risky dependency version (e.g.,
minimist@0.0.8), push PR → action flags - Open logs in Actions, fix dependency to safe version, push → green
- Configure Azure secret, push → deployment succeeds; open URL
- Built on macOS, Node 18+ recommended
- Keep the demo branch small and focused