@@ -16,16 +16,28 @@ jobs:
1616 strategy :
1717 matrix :
1818 app :
19- - { project: "coagents-research-canvas", type: "agent", deps: "remote-deps" }
20- - { project: "coagents-research-canvas", type: "agent", deps: "local-deps" }
19+ - {
20+ project : " coagents-research-canvas" ,
21+ type : " agent" ,
22+ deps : " remote-deps" ,
23+ }
24+ - {
25+ project : " coagents-research-canvas" ,
26+ type : " agent" ,
27+ deps : " local-deps" ,
28+ }
2129 - { project: "coagents-research-canvas", type: "ui" }
2230 - { project: "coagents-routing", type: "agent", deps: "remote-deps" }
2331 - { project: "coagents-routing", type: "agent", deps: "local-deps" }
2432 - { project: "coagents-routing", type: "ui" }
2533 - { project: "coagents-qa-text", type: "agent", deps: "remote-deps" }
2634 - { project: "coagents-qa-text", type: "agent", deps: "local-deps" }
2735 - { project: "coagents-qa-text", type: "ui" }
28- - { project: "coagents-qa-native", type: "agent", deps: "remote-deps" }
36+ - {
37+ project : " coagents-qa-native" ,
38+ type : " agent" ,
39+ deps : " remote-deps" ,
40+ }
2941 - { project: "coagents-qa-native", type: "agent", deps: "local-deps" }
3042 - { project: "coagents-qa-native", type: "ui" }
3143 steps :
5163 - name : AWS ECR Login
5264 run : |
5365 aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 058264219587.dkr.ecr.us-east-1.amazonaws.com
54-
66+
5567 - name : (UI) Setup pnpm
5668 if : matrix.app.type == 'ui'
5769 uses : pnpm/action-setup@v4
6375 uses : actions/setup-node@v2
6476 with :
6577 node-version : 21.x
66- cache : ' pnpm'
67- cache-dependency-path : ' **/pnpm-lock.yaml'
78+ cache : " pnpm"
79+ cache-dependency-path : " **/pnpm-lock.yaml"
6880
6981 - name : (UI) Install dependencies
7082 if : matrix.app.type == 'ui'
@@ -147,8 +159,8 @@ jobs:
147159 uses : actions/setup-node@v2
148160 with :
149161 node-version : 21.x
150- cache : ' pnpm'
151- cache-dependency-path : ' **/pnpm-lock.yaml'
162+ cache : " pnpm"
163+ cache-dependency-path : " **/pnpm-lock.yaml"
152164
153165 - name : Infra install dependencies
154166 working-directory : infra
@@ -174,10 +186,10 @@ jobs:
174186 working-directory : ./infra
175187 run : cdk deploy --profile default --all --require-approval never --outputs-file=cdk_outputs.json --concurrency 10
176188 env :
177- UNIQUE_ENV_ID : ' PR${{ github.event.number }}'
189+ UNIQUE_ENV_ID : " PR${{ github.event.number }}"
178190 GITHUB_ACTIONS_RUN_ID : " ${{ github.run_id }}"
179191 GITHUB_PR_NUMBER : " ${{ github.event.number }}"
180-
192+
181193 - name : Generate table from outputs
182194 id : generate-table
183195 working-directory : infra
@@ -207,11 +219,11 @@ jobs:
207219 working-directory : infra
208220 run : |
209221 echo "e2e-urls=$(node get-e2e-tests-urls.js | base64 -w 0)" >> "$GITHUB_OUTPUT"
210-
222+
211223 - name : Trigger E2E Tests
212224 uses : benc-uk/workflow-dispatch@v1
213225 with :
214226 token : ${{ secrets.GITHUB_TOKEN }}
215227 workflow : " e2e.yml"
216228 ref : " ${{ github.event.pull_request.head.ref }}"
217- inputs : ' {"ref": "${{ github.event.pull_request.head.ref }}", "sha": "${{ github.event.pull_request.head.sha }}", "urls": "${{ steps.export-e2e-urls.outputs.e2e-urls }}"}'
229+ inputs : ' {"ref": "${{ github.event.pull_request.head.ref }}", "sha": "${{ github.event.pull_request.head.sha }}", "urls": "${{ steps.export-e2e-urls.outputs.e2e-urls }}", "pr_number": "${{ github.event.pull_request.number }}" }'
0 commit comments