File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,12 +2,19 @@ name: Copilot Setup Steps
22
33on :
44 workflow_dispatch :
5- # Allow manual triggering for Copilot agent environments
5+ push :
6+ paths :
7+ - .github/workflows/copilot-setup-steps.yml
8+ pull_request :
9+ paths :
10+ - .github/workflows/copilot-setup-steps.yml
611
712jobs :
8- setup-environment :
13+ copilot- setup-steps :
914 name : Setup Development Environment
1015 runs-on : ubuntu-latest
16+ permissions :
17+ contents : read
1118
1219 steps :
1320 - name : Checkout code
@@ -120,7 +127,7 @@ jobs:
120127 echo "📦 Installation Summary:"
121128 echo "✅ Node.js $(node --version) and npm dependencies installed"
122129 echo "✅ PHP $(php --version | head -n1) and Composer dependencies installed"
123- echo "✅ Jest tests passed (28 test suites, 484 tests) "
130+ echo "✅ Jest tests were run "
124131 echo "✅ Docker containers ready for PHP testing"
125132 echo "✅ Build system operational (webpack)"
126133 echo ""
@@ -143,4 +150,4 @@ jobs:
143150 echo " - Cypress may need manual setup: npm config set ignore-scripts false && npm run postinstall"
144151 echo " - Docker containers use custom WordPress testing image"
145152 echo " - PHP tests require WordPress installation in container"
146- echo " - All dependencies cached for faster subsequent runs"
153+ echo " - All dependencies cached for faster subsequent runs"
You can’t perform that action at this time.
0 commit comments