File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,55 @@ permissions:
1212 contents : read
1313
1414jobs :
15+ build_tip_of_tree_v12 :
16+ name : Build test (against tip-of-tree core v12)
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout experimentation plugin
20+ uses : actions/checkout@v4
21+ with :
22+ path : main
23+
24+ - name : Checkout core Blockly
25+ uses : actions/checkout@v4
26+ with :
27+ repository : ' google/blockly'
28+ ref : ' rc/v12.0.0'
29+ path : core-blockly
30+
31+ - name : Use Node.js 20.x
32+ uses : actions/setup-node@v4
33+ with :
34+ node-version : 20.x
35+
36+ - name : NPM install
37+ run : |
38+ cd main
39+ npm install
40+ cd ..
41+ cd core-blockly
42+ npm install
43+ cd ..
44+
45+ - name : Link latest Blockly v12
46+ run : |
47+ cd core-blockly
48+ npm run package
49+ cd dist
50+ npm link
51+ cd ../../main
52+ npm link blockly
53+ cd ..
54+
55+ - name : Verify build
56+ run : |
57+ cd main
58+ npm run build
59+
1560 build :
61+ name : Build test (against pinned v12)
62+ # Don't run pinned version checks for PRs.
63+ if : ${{ !github.base_ref }}
1664 runs-on : ubuntu-latest
1765 steps :
1866 - name : Checkout experimentation plugin
57105 npm run build
58106
59107 lint :
108+ name : Eslint check
60109 timeout-minutes : 5
61110 runs-on : ubuntu-latest
62111 steps :
74123 run : npm run lint
75124
76125 format :
126+ name : Prettier check
77127 timeout-minutes : 5
78128 runs-on : ubuntu-latest
79129 steps :
You can’t perform that action at this time.
0 commit comments