3535 with :
3636 node-version : lts/*
3737
38+ - name : Load ENV files from examples
39+ run : |
40+ mv builder-frontend/.env.example builder-frontend/.env
41+ mv builder-api/.env.example builder-api/.env
42+ mv .env.example .env
43+
3844 # 1) Devbox Setup #
3945 - name : Setup devbox
4046 uses : ./.github/actions/devbox-setup
6975 working-directory : builder-frontend
7076 run : devbox run install-builder-frontend-ci
7177
72- - name : Load ENV files from examples
73- run : |
74- mv builder-frontend/.env.example builder-frontend/.env
75- mv builder-api/.env.example builder-api/.env
76-
7778 - name : Load E2E emulator data
7879 run : |
7980 rm -rf emulator-data
@@ -92,20 +93,50 @@ jobs:
9293 run : npx playwright install --with-deps
9394 working-directory : e2e
9495
96+ - name : Run a bash command and print output
97+ run : |
98+ echo "Listing devbox processes:"
99+ devbox services ls
100+ shell : bash
101+
95102 - name : Wait for App to be available
96103 uses : nev7n/wait_for_response@v1
97104 with :
98105 url : " http://localhost:5173/"
99106 responseCode : 200
100- timeout : 90000
107+ timeout : 60000
101108 interval : 1000
102109 continue-on-error : true
103110
111+ - name : Run a bash command and print output
112+ run : |
113+ echo "Listing devbox processes:"
114+ devbox services ls
115+ shell : bash
116+
117+ - name : Run a bash command and print output
118+ run : |
119+ echo "Listing devbox processes:"
120+ cp /tmp/process-compose-$(whoami).log process-compose.log
121+ shell : bash
122+
123+ - name : Upload command output artifact
124+ uses : actions/upload-artifact@v4
125+ with :
126+ name : process-compose-log-artifact
127+ path : process-compose.log
128+
104129 - name : Run Playwright tests
105130 run : npx playwright test
106131 working-directory : e2e
107132 continue-on-error : true
108133
134+ - name : Run a bash command and print output
135+ run : |
136+ echo "Listing devbox processes:"
137+ devbox services ls
138+ shell : bash
139+
109140 - uses : actions/upload-artifact@v4
110141 if : ${{ !cancelled() }}
111142 with :
0 commit comments