-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Background
The current GitHub Actions workflows are well-structured but do not include a test execution step, which is crucial for maintaining code quality and preventing regressions. This issue aims to update the workflows once the testing infrastructure (issue #8) is implemented.
Current Workflows
We have two workflow files:
.github/workflows/code-quality.yml: Runs linting and formatting checks.github/workflows/npm-publish.yml: Handles publishing to npm
Tasks
- Add a test execution step to the
code-quality.ymlworkflow:- name: Run tests run: npm test
- Add test execution to the
npm-publish.ymlworkflow as a prerequisite to publishing:- name: Run tests run: npm test
- Verify that actions/checkout and actions/setup-node are using the latest versions
- Ensure proper configuration for caching dependencies to speed up workflows
Expected Outcome
- Code quality workflow that verifies linting, formatting, and test coverage
- Publishing workflow that ensures tests pass before publishing to npm
- Modern GitHub Actions setup with optimal performance
This change should be implemented after the testing framework is set up (issue #8).