1- name : Deploy All Live
1+ name : Deploy Websites
22
33on :
44 workflow_dispatch :
@@ -26,15 +26,15 @@ jobs:
2626 browser : [chromium, chrome]
2727
2828 steps :
29- - uses : actions/checkout@v3
29+ - uses : actions/checkout@v4
3030 with :
3131 repository : dont-code/plugins
3232 path : plugins
3333 fetch-depth : 0
3434 ref : ${{env.branch}}
3535 token : ${{secrets.DONTCODE_ACTIONS_TOKEN}}
3636 - name : Setup build environment
37- uses : actions/setup-node@v3
37+ uses : actions/setup-node@v4
3838 with :
3939 node-version : ' 18.x'
4040 registry-url : ' https://registry.npmjs.org'
@@ -54,23 +54,23 @@ jobs:
5454 - run : |
5555 nx run plugin-tester-e2e:e2e --browser ${{matrix.browser}}
5656 working-directory: 'plugins'
57- - uses : actions/upload-artifact@v3
57+ - uses : actions/upload-artifact@v4
5858 # Test run screenshots only on failure
5959 if : failure()
6060 with :
61- name : cypress-screenshots
61+ name : cypress-${{matrix.browser}}- screenshots
6262 path : plugins/dist/cypress/apps/plugin-tester-e2e/screenshots
6363 # Test run video was always captured, so this action uses "always()" condition
64- - uses : actions/upload-artifact@v3
64+ - uses : actions/upload-artifact@v4
6565 if : failure()
6666 with :
67- name : cypress-videos
67+ name : cypress-${{matrix.browser}}- videos
6868 path : plugins/dist/cypress/apps/plugin-tester-e2e/videos
6969 - name : Prepare Plugins deployment
7070 run : nx run plugin-tester:build:production --output-path="dist/apps/plugin-tester/${{env.stage}}" --base-href "https://run.dont-code.net/plugins/${{env.stage}}/"
7171 working-directory : ' plugins'
7272 - name : Building Plugin Seed ${{env.branch}}
73- uses : actions/checkout@v3
73+ uses : actions/checkout@v4
7474 with :
7575 repository : dont-code/plugin-seed
7676 path : plugin-seed
@@ -87,24 +87,24 @@ jobs:
8787 - run : |
8888 nx run seed-tester-e2e:e2e --browser ${{matrix.browser}}
8989 working-directory: 'plugin-seed'
90- - uses : actions/upload-artifact@v3
90+ - uses : actions/upload-artifact@v4
9191 # Test run screenshots only on failure
9292 if : failure()
9393 with :
94- name : cypress-screenshots
94+ name : cypress-seed-${{matrix.browser}}- screenshots
9595 path : plugin-seed/dist/cypress/apps/seed-tester-e2e/screenshots
9696 # Test run video was always captured, so this action uses "always()" condition
97- - uses : actions/upload-artifact@v3
97+ - uses : actions/upload-artifact@v4
9898 if : failure()
9999 with :
100- name : cypress-videos
100+ name : cypress-seed-${{matrix.browser}}- videos
101101 path : plugin-seed/dist/cypress/apps/seed-tester-e2e/videos
102102 - name : Prepare Plugin Seed Deployment
103103 run : nx run seed-tester:build:production --output-path="dist/apps/seed-tester/${{env.stage}}" --base-href "https://run.dont-code.net/plugin-seed/${{env.stage}}/"
104104 working-directory : ' plugin-seed'
105105
106106 - name : Building Plugin Rest ${{env.branch}}
107- uses : actions/checkout@v3
107+ uses : actions/checkout@v4
108108 with :
109109 repository : dont-code/plugin-rest
110110 path : plugin-rest
@@ -121,23 +121,23 @@ jobs:
121121 - run : |
122122 nx run rest-tester-e2e:e2e --browser ${{matrix.browser}}
123123 working-directory: 'plugin-rest'
124- - uses : actions/upload-artifact@v3
124+ - uses : actions/upload-artifact@v4
125125 # Test run screenshots only on failure
126126 if : failure()
127127 with :
128- name : cypress-screenshots
128+ name : cypress-rest-${{matrix.browser}}- screenshots
129129 path : plugin-rest/dist/cypress/apps/rest-tester-e2e/screenshots
130130 # Test run video was always captured, so this action uses "always()" condition
131- - uses : actions/upload-artifact@v3
131+ - uses : actions/upload-artifact@v4
132132 if : failure()
133133 with :
134- name : cypress-videos
134+ name : cypress-rest-${{matrix.browser}}- videos
135135 path : plugin-rest/dist/cypress/apps/rest-tester-e2e/videos
136136 - name : Prepare Plugin Rest deployment
137137 run : nx run rest-tester:build:production --output-path="dist/apps/rest-tester/${{env.stage}}" --base-href "https://run.dont-code.net/plugin-rest/${{env.stage}}/"
138138 working-directory : ' plugin-rest'
139139 - name : Building Plugin Report ${{env.branch}}
140- uses : actions/checkout@v3
140+ uses : actions/checkout@v4
141141 with :
142142 repository : dont-code/plugin-report
143143 path : plugin-report
@@ -154,24 +154,24 @@ jobs:
154154 - run : |
155155 nx run report-tester-e2e:e2e --browser ${{matrix.browser}}
156156 working-directory: 'plugin-report'
157- - uses : actions/upload-artifact@v3
157+ - uses : actions/upload-artifact@v4
158158 # Test run screenshots only on failure
159159 if : failure()
160160 with :
161- name : cypress-screenshots
161+ name : cypress-report-${{matrix.browser}}- screenshots
162162 path : plugin-report/dist/cypress/apps/report-tester-e2e/screenshots
163163 # Test run video was always captured, so this action uses "always()" condition
164- - uses : actions/upload-artifact@v3
164+ - uses : actions/upload-artifact@v4
165165 if : failure()
166166 with :
167- name : cypress-videos
167+ name : cypress-report-${{matrix.browser}}- videos
168168 path : plugin-report/dist/cypress/apps/report-tester-e2e/videos
169169 - name : Prepare Plugin Report Deployment
170170 run : nx run report-tester:build:production --output-path="dist/apps/report-tester/${{env.stage}}" --base-href "https://run.dont-code.net/plugin-report/${{env.stage}}/"
171171 working-directory : ' plugin-report'
172172
173173 - name : Building Plugin Commerce ${{env.branch}}
174- uses : actions/checkout@v3
174+ uses : actions/checkout@v4
175175 with :
176176 repository : dont-code/plugin-commerce
177177 path : plugin-commerce
@@ -188,24 +188,24 @@ jobs:
188188 - run : |
189189 nx run commerce-tester-e2e:e2e --browser ${{matrix.browser}}
190190 working-directory: 'plugin-commerce'
191- - uses : actions/upload-artifact@v3
191+ - uses : actions/upload-artifact@v4
192192 # Test run screenshots only on failure
193193 if : failure()
194194 with :
195- name : cypress-screenshots
195+ name : cypress-commerce-${{matrix.browser}}- screenshots
196196 path : plugin-commerce/dist/cypress/apps/commerce-tester-e2e/screenshots
197197 # Test run video was always captured, so this action uses "always()" condition
198- - uses : actions/upload-artifact@v3
198+ - uses : actions/upload-artifact@v4
199199 if : failure()
200200 with :
201- name : cypress-videos
201+ name : cypress-commerce-${{matrix.browser}}- videos
202202 path : plugin-commerce/dist/cypress/apps/commerce-tester-e2e/videos
203203 - name : Prepare Plugin Commerce deployment
204204 run : nx run commerce-tester:build:production --output-path="dist/apps/commerce-tester/${{env.stage}}" --base-href "https://run.dont-code.net/plugin-commerce/${{env.stage}}/"
205205 working-directory : ' plugin-commerce'
206206
207207 - name : Building IDE Builder ${{env.branch}}
208- uses : actions/checkout@v3
208+ uses : actions/checkout@v4
209209 with :
210210 repository : dont-code/ide-ui
211211 path : ide-ui
@@ -221,24 +221,24 @@ jobs:
221221 - run : |
222222 nx run ide-ui-e2e:e2e --browser ${{matrix.browser}}
223223 working-directory: 'ide-ui'
224- - uses : actions/upload-artifact@v3
224+ - uses : actions/upload-artifact@v4
225225 # Test run screenshots only on failure
226226 if : failure()
227227 with :
228- name : cypress-screenshots
228+ name : cypress-ide-${{matrix.browser}}- screenshots
229229 path : ide-ui/dist/cypress/apps/ide-ui-e2e/screenshots
230230 # Test run video was always captured, so this action uses "always()" condition
231- - uses : actions/upload-artifact@v3
231+ - uses : actions/upload-artifact@v4
232232 if : failure()
233233 with :
234- name : cypress-videos
234+ name : cypress-ide-${{matrix.browser}}- videos
235235 path : ide-ui/dist/cypress/apps/ide-ui-e2e/videos
236236 - name : Prepare IDE Builder deployment ${{env.branch}}
237237 run : nx run ide-ui:build:${{env.build}} --output-path="dist/apps/ide-ui/${{env.stage}}" --base-href "https://run.dont-code.net/ide-ui/${{env.stage}}/"
238238 working-directory : ' ide-ui'
239239
240240 - name : Building Previewer
241- uses : actions/checkout@v3
241+ uses : actions/checkout@v4
242242 with :
243243 repository : dont-code/preview-ui
244244 path : preview-ui
@@ -253,17 +253,17 @@ jobs:
253253 - run : |
254254 nx run preview-ui-e2e:e2e --browser ${{matrix.browser}}
255255 working-directory: 'preview-ui'
256- - uses : actions/upload-artifact@v3
256+ - uses : actions/upload-artifact@v4
257257 # Test run screenshots only on failure
258258 if : failure()
259259 with :
260- name : cypress-screenshots
260+ name : cypress-preview-${{matrix.browser}}- screenshots
261261 path : preview-ui/dist/cypress/apps/preview-ui-e2e/screenshots
262262 # Test run video was always captured, so this action uses "always()" condition
263- - uses : actions/upload-artifact@v3
263+ - uses : actions/upload-artifact@v4
264264 if : failure()
265265 with :
266- name : cypress-videos
266+ name : cypress-preview-${{matrix.browser}}- videos
267267 path : preview-ui/dist/cypress/apps/preview-ui-e2e/videos
268268 - name : Prepare Previewer deployment
269269 run : nx run preview-ui:build:${{env.build}} --output-path="dist/apps/preview-ui/${{env.stage}}" --base-href "https://run.dont-code.net/preview-ui/${{env.stage}}/"
0 commit comments