File tree 1 file changed +32
-6
lines changed 1 file changed +32
-6
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,46 @@ jobs:
26
26
build :
27
27
runs-on : ubuntu-latest
28
28
steps :
29
- - name : Checkout
29
+ - name : Checkout blockly
30
30
uses : actions/checkout@v4
31
+ with :
32
+ path : blockly
33
+ repository : google/blockly
34
+ ref : develop
35
+
36
+ - name : Checkout blockly-keyboard-experimentation
37
+ uses : actions/checkout@v4
38
+ with :
39
+ path : blockly-keyboard-experimentation
40
+
31
41
- name : Setup Node
32
42
uses : actions/setup-node@v4
33
43
with :
34
- node-version : latest
35
- cache : ' npm'
36
- - run : npm ci
37
- - run : npm run ghpages
44
+ node-version : 20.x
45
+
46
+ - name : Build blockly
47
+ run : |
48
+ cd blockly
49
+ npm ci
50
+ npm run package
51
+ cd dist
52
+ npm link
53
+ cd ../..
54
+
55
+ - name : Build blockly-keyboard-experimentation
56
+ run : |
57
+ cd blockly-keyboard-experimentation
58
+ npm ci
59
+ npm link blockly
60
+ npm run ghpages
61
+ cd ..
62
+
38
63
- name : Upload artifact
39
64
uses : actions/upload-pages-artifact@v3
40
65
with :
41
66
# Upload build folder
42
- path : ' ./dist'
67
+ path : ' ./blockly-keyboard-experimentation/dist'
68
+
43
69
deploy :
44
70
environment :
45
71
name : github-pages
You can’t perform that action at this time.
0 commit comments