Skip to content

Add CI workflow for PR testing - #2

Closed
camlambert2000 wants to merge 1 commit into
mainfrom
add-ci-workflow
Closed

Add CI workflow for PR testing#2
camlambert2000 wants to merge 1 commit into
mainfrom
add-ci-workflow

Conversation

@camlambert2000

Copy link
Copy Markdown
Collaborator

Summary

  • Adds GitHub Actions CI workflow that runs on PRs to main
  • Installs dependencies with npm ci
  • Runs npm test (29 safeguarding tests)

Setup required after merge

To enforce that tests must pass before merging, enable branch protection:

  1. Go to Settings → Branches → Add rule
  2. Branch name pattern: main
  3. Check "Require status checks to pass before merging"
  4. Select the "test" status check
  5. Save changes

🤖 Generated with Claude Code

Runs npm install and npm test on pull requests to main.
Tests must pass before PR can be merged.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

2 participants