Skip to content

Add PR and Merge CI/CD workflow - #7

Draft
jjmhalew with Copilot wants to merge 3 commits into
mainfrom
copilot/add-pr-and-merge-cicd
Draft

jjmhalew with Copilot wants to merge 3 commits into
mainfrom
copilot/add-pr-and-merge-cicd

Conversation

Copilot AI commented Mar 26, 2026 •

Copy link
Copy Markdown
Contributor

Adds a GitHub Actions CI pipeline triggered on PRs and pushes to main that builds the Unity WebGL project, then builds and tests the Angular app.

Workflow: .github/workflows/ci.yml

Two-job pipeline with artifact passing:

  • unity-build — Uses game-ci/unity-builder@v4 to build WebGL target (version auto-read from ProjectVersion.txt). Caches Unity Library/ folder. Uploads build artifact.
  • angular-build — Downloads Unity build into public/unity/, runs npm ci, ng build, ng test --watch=false on Node 22.

Required secrets

UNITY_LICENSE, UNITY_EMAIL, UNITY_PASSWORD must be configured in repo settings for the Unity build step.

Security

Workflow-level permissions: contents: read restricts GITHUB_TOKEN scope.


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Copilot AI changed the title [WIP] Add PR and merge CICD for Unity build process Add PR and Merge CI/CD workflow Mar 26, 2026
Copilot AI requested a review from jjmhalew March 26, 2026 21:25
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