@robotical/martyblocks 1.4.47 → 1.4.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,46 +51,76 @@ jobs:
51
51
  git clone -b develop https://github.com/llk/scratch-vm.git ${{ env.vm_original }}
52
52
  git clone -b develop https://github.com/llk/scratch-gui.git ${{ env.gui_original }}
53
53
 
54
+ - name: Checkout appropriate commit
55
+ run: |
54
56
  cd ${{ env.blocks_original }} && git reset --hard f9107bf5d0479d632658f2b203995f5ae6d75363
55
57
  cd ${{ env.vm_original }} && git reset --hard 3b36a8e3ea7f3caa5b4bf4ae7b4f821a986a1378
56
58
  cd ${{ env.gui_original }} && git reset --hard 738c86bb58e336711280aec33c510d7aef79408e
57
59
 
60
+ - name: Install scratch
61
+ run: |
58
62
  cd ${{ env.blocks_original }} && npm install
59
63
  cd ${{ env.vm_original }} && npm install
60
64
  cd ${{ env.gui_original }} && npm install
61
65
 
66
+ - name: Install marty blocks library
67
+ run: |
62
68
  cd ${{ env.mblib }}
63
69
  npm install
64
70
 
71
+ - name: setting production environments
72
+ run: |
65
73
  cd ${{ env.mblib }}
66
74
  npx node set-production.js
67
75
 
76
+ - name: Link repositories
77
+ run: |
68
78
  cd ${{ env.mblib }} && npm link
69
79
  cd ${{ env.blocks_original }} && npm link && npm link marty-blocks-lib
70
80
  cd ${{ env.vm_original }} && npm link && npm link marty-blocks-lib scratch-blocks
71
81
  cd ${{ env.gui_original }} && npm link marty-blocks-lib scratch-blocks scratch-vm
72
82
 
83
+ - name: check if scracth-blocks linking worked
84
+ run: |
73
85
  cd ${{ env.blocks_original }}
74
86
  npm list || true
75
87
 
88
+ - name: check if scratch-vm linking worked
89
+ run: |
76
90
  cd ${{ env.vm_original }}
77
91
  npm list || true
78
92
 
93
+ - name: check if gui linking worked
94
+ run: |
79
95
  cd ${{ env.gui_original }}
80
96
  npm list || true
81
97
 
98
+ - name: Copy replacements
99
+ run: |
82
100
  cp -r ${{ env.REPLACEMENTS }}/* ${{ env.MBHome }}
83
101
 
84
-
102
+ - name: Build Blocks
103
+ run: |
85
104
  cd ${{ env.blocks_original }}
86
105
  npm run prepublish
87
106
 
107
+ - name: Build VM
108
+ run: |
88
109
  cd ${{ env.vm_original }}
89
110
  npm run build
90
111
 
112
+ - name: Build Scratch
113
+ run: |
91
114
  cd ${{ env.gui_original }}
92
115
  BUILD_MODE=dist npm run build
93
116
 
117
+ - name: print gui components
118
+ run: |
119
+ cd ${{ env.gui_original }}
120
+ ls -l ${{ env.gui_original }}/src/components
121
+
122
+ - name: Copy dist files
123
+ run: |
94
124
  mkdir -p ${{ env.MBHome }}/dist
95
125
  cp -r ${{ env.gui_original }}/build/* ${{ env.MBHome }}/dist
96
126