Skip to content

Commit a6d20af

Browse files
authored
feat: run wdio tests against latest v12 core
1 parent 7998ccf commit a6d20af

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

.github/workflows/test.yml

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,41 @@ jobs:
2323
os: [ubuntu-latest, macos-latest]
2424

2525
steps:
26-
- uses: actions/checkout@v4
26+
- name: Checkout experimentation plugin
27+
uses: actions/checkout@v4
28+
with:
29+
path: main
30+
31+
- name: Checkout core Blockly
32+
uses: actions/checkout@v4
33+
with:
34+
repository: 'google/blockly'
35+
ref: 'rc/v12.0.0'
36+
path: core-blockly
2737

2838
- name: Use Node.js 20.x
2939
uses: actions/setup-node@v4
3040
with:
3141
node-version: 20.x
3242

33-
- name: Npm Install
34-
run: npm install
35-
36-
- name: Run Tests
43+
- name: NPM install
44+
run: |
45+
cd main
46+
npm install
47+
cd ..
48+
cd core-blockly
49+
npm install
50+
cd ..
51+
52+
- name: Link latest Blockly v12
53+
run: |
54+
cd core-blockly
55+
npm run package
56+
cd dist
57+
npm link
58+
cd ../../main
59+
npm link blockly
60+
cd ..
61+
62+
- name: Run tests
3763
run: npm run test

0 commit comments

Comments
 (0)