Skip to content

Add CI workflow: lint and test on pull requests to main#4

Merged
SimonLoir merged 2 commits intomainfrom
copilot/add-test-and-lint-actions
Mar 10, 2026
Merged

Add CI workflow: lint and test on pull requests to main#4
SimonLoir merged 2 commits intomainfrom
copilot/add-test-and-lint-actions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 10, 2026

No automated checks ran on PRs targeting main — merges were unguarded beyond the publish pipeline.

Changes

  • .github/workflows/ci.yml — new workflow triggered on pull_request to main with two parallel jobs:
    • lint — runs npm run lint (ESLint + TypeScript checks)
    • test — runs npm run test (build + Vitest)
  • Explicit permissions: contents: read at workflow level (least-privilege)
  • Node.js 20 / ubuntu-latest, consistent with existing publish.yml

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: SimonLoir <17649337+SimonLoir@users.noreply.github.com>
Copilot AI changed the title [WIP] Add test and lint GitHub Actions for merging to main Add CI workflow: lint and test on pull requests to main Mar 10, 2026
@SimonLoir SimonLoir marked this pull request as ready for review March 10, 2026 16:37
@SimonLoir SimonLoir merged commit 8820168 into main Mar 10, 2026
2 checks passed
@SimonLoir SimonLoir deleted the copilot/add-test-and-lint-actions branch March 10, 2026 16:37
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