File tree 2 files changed +17
-2
lines changed
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,14 @@ jobs:
49
49
50
50
- run : pnpm build:testing
51
51
52
- - name : Upload artifact
52
+ - name : 🔺 Upload playground artifacts
53
53
if : github.ref == 'refs/heads/main'
54
- uses : actions/upload-pages- artifact@v1
54
+ uses : actions/upload-artifact@v3
55
55
with :
56
+ name : build_distribution_testing
56
57
path : testing/dist
58
+ if-no-files-found : error
59
+ retention-days : 1
57
60
58
61
unit_tests :
59
62
name : 🧪 Unit Tests
Original file line number Diff line number Diff line change 31
31
steps :
32
32
- uses : actions/checkout@v3
33
33
34
+ - name : 🔻 Download playground artifacts
35
+ uses : actions/download-artifact@v3
36
+ with :
37
+ name : build_distribution_testing
38
+ path : testing/dist
39
+
40
+ - name : Upload Page artifact
41
+ if : github.ref == 'refs/heads/main'
42
+ uses : actions/upload-pages-artifact@v1
43
+ with :
44
+ path : testing/dist
45
+
34
46
- name : Deploy to GitHub Pages
35
47
id : deployment
36
48
uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments