Skip to content

Commit afbdc17

Browse files
committed
chore: use matrix to test api peer dep
1 parent 3fefcb1 commit afbdc17

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/peer-api.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88

99
jobs:
1010
peer-api-check:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
package-group: ["stable", "experimental"]
1115
runs-on: ubuntu-latest
1216
container:
1317
image: node:14
@@ -18,5 +22,8 @@ jobs:
1822
- name: Install lerna
1923
run: npm install -g lerna
2024

25+
- name: Use ${{ package-group }}
26+
run: npm run use:${{ matrix.package-group }}
27+
2128
- name: Check API dependency semantics
2229
run: lerna exec --ignore propagation-validation-server "node ../../scripts/peer-api-check.js"

0 commit comments

Comments
 (0)