Skip to content

Commit 265bf48

Browse files
committed
chore: add interop and examples in github actions
1 parent a5f5160 commit 265bf48

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,18 @@ jobs:
5050
steps:
5151
- uses: actions/checkout@v2
5252
- run: yarn
53-
- run: npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless
53+
- run: npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless
54+
test-interop:
55+
needs: check
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@v2
59+
- run: yarn
60+
- run: LIBP2P_JS=${GITHUB_WORKSPACE}/src/index.js && cd node_modules/interop-libp2p && yarn && npx aegir test -t node --bail
61+
test-auto-relay-example:
62+
needs: check
63+
runs-on: ubuntu-latest
64+
steps:
65+
- uses: actions/checkout@v2
66+
- run: yarn
67+
- run: cd examples && yarn && npm run test -- auto-relay

0 commit comments

Comments
 (0)