Skip to content

Feat/pre release improvements#87

Merged
kevinccbsg merged 11 commits into
mainfrom
feat/pre-release-improvements
Nov 14, 2025
Merged

Feat/pre release improvements#87
kevinccbsg merged 11 commits into
mainfrom
feat/pre-release-improvements

Conversation

@kevinccbsg

@kevinccbsg kevinccbsg commented Nov 14, 2025

Copy link
Copy Markdown
Member

Description

This pull request introduces a continuous integration (CI) workflow for the twd-test-app example, automating end-to-end testing and code coverage reporting using Puppeteer and Istanbul. The main changes include a new GitHub Actions workflow, scripts and configuration for automated browser-based tests, and integration of code coverage tools.

CI Workflow and Automation:

  • Added a new GitHub Actions workflow .github/workflows/ci_job.yml to automatically run tests, start the Vite dev server, execute Puppeteer-based end-to-end tests, and display coverage reports on pull requests to main.
  • Added a new script scripts/run-tests-ci.js that launches Puppeteer, runs all browser tests, collects code coverage from the browser, and writes coverage data for reporting.

Testing and Coverage Enhancements:

  • Updated package.json to include new npm scripts for CI (dev:ci, test:ci, and coverage collection commands) and moved puppeteer to devDependencies with an updated version. [1] [2]
  • Integrated vite-plugin-istanbul in vite.config.ts to instrument code for coverage during CI runs, enabling Istanbul/nyc coverage reporting.

These changes automate the testing and coverage reporting process for pull requests, improving code quality and reliability.

This PR closes #86

@kevinccbsg kevinccbsg merged commit 266362e into main Nov 14, 2025
5 checks passed
@kevinccbsg kevinccbsg deleted the feat/pre-release-improvements branch November 14, 2025 17:39
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

Successfully merging this pull request may close these issues.

[ci] improve ci execution in examples

1 participant