Skip to content

Commit 2b020aa

Browse files
authored
chore: try to build against latest v12 instead
1 parent 9953f0b commit 2b020aa

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,47 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- name: Checkout experimentation plugin
19+
uses: actions/checkout@v4
20+
with:
21+
path: plugin
22+
23+
- name: Checkout core Blockly
24+
uses: actions/checkout@v4
25+
with:
26+
repository: 'google/blockly'
27+
ref: 'rc/v12.0.0'
28+
path: core-blockly
1929

2030
- name: Use Node.js 20.x
2131
uses: actions/setup-node@v4
2232
with:
2333
node-version: 20.x
2434
cache: 'npm'
2535

26-
- name: Npm Install
27-
run: npm install
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 ../../plugin
52+
npm link blockly
53+
cd ..
2854
2955
- name: Verify build
30-
run: npm run build
56+
run: |
57+
cd plugin
58+
npm run build
3159
3260
lint:
3361
timeout-minutes: 5

0 commit comments

Comments
 (0)