Skip to content

Add GitHub Actions CI (Jest, build, Pester) - #4

Merged
PowerShellYoungTeam merged 2 commits into
mainfrom
powershellyoungteam-osm-route-card-planning
Oct 6, 2026
Merged

PowerShellYoungTeam merged 2 commits into
mainfrom
powershellyoungteam-osm-route-card-planning

Conversation

@PowerShellYoungTeam

Copy link
Copy Markdown
Owner

Adds .github/workflows/ci.yml, which runs on pull requests, on pushes to main, and when started manually.

  • Web app job: runs npm ci, the Jest tests and the production build (CI=true, so build warnings fail the job). It uses Node 20 with npm caching.
  • PowerShell job: installs Pester 5 and ImportExcel, then runs the module tests with Run.Exit set so a failing test fails the job. The NUnit results file is uploaded as an artifact.
  • Permissions and concurrency: the workflow has read-only contents access, and a newer run on the same ref cancels the older one.

Also adds a CI badge and a short note to the README's Testing section.

PowerShellYoungTeam and others added 2 commits October 6, 2026 01:19
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@PowerShellYoungTeam
PowerShellYoungTeam merged commit a798f50 into main Oct 6, 2026
2 checks passed
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.

1 participant