Skip to content

Add CI workflow to run npm test on PRs #5

Description

@kyroskoh

Context

Today CI is release-only (.github/workflows/release.yml); unit tests only run via local npm test.

Goal

Every pull request runs the existing test suite before merge.

Acceptance criteria

  • GitHub Actions workflow triggers on pull_request (and optionally push to main)
  • Workflow runs npm ci / npm install and npm test
  • Failures block merge (required check if branch protection allows)
  • Documented briefly in README or PRD references

Notes

Mirror the current package.json test script; keep scope to unit tests.

References

  • package.jsonscripts.test

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions