Skip to content

Commit

Permalink
chore: re-enable examples (#2782)
Browse files Browse the repository at this point in the history
Updates example to use the latest circuit relay transport.
  • Loading branch information
achingbrain authored Oct 28, 2024
1 parent 52b3b1a commit a657bbd
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,29 @@ jobs:
strategy:
matrix:
example:
# - name: js-libp2p-example-browser-pubsub
# repo: https://github.com/libp2p/js-libp2p-example-browser-pubsub.git
# deps:
# - '@libp2p/circuit-relay-v2@$PWD/packages/transport-circuit-relay-v2'
# - '@libp2p/dcutr@$PWD/packages/protocol-dcutr'
# - '@libp2p/identify@$PWD/packages/protocol-identify'
# - '@libp2p/webrtc@$PWD/packages/transport-webrtc'
# - '@libp2p/websockets@$PWD/packages/transport-websockets'
# - 'libp2p@$PWD/packages/libp2p'
- name: js-libp2p-example-browser-pubsub
repo: https://github.com/libp2p/js-libp2p-example-browser-pubsub.git
deps:
- '@libp2p/circuit-relay-v2@$PWD/packages/transport-circuit-relay-v2'
- '@libp2p/dcutr@$PWD/packages/protocol-dcutr'
- '@libp2p/identify@$PWD/packages/protocol-identify'
- '@libp2p/webrtc@$PWD/packages/transport-webrtc'
- '@libp2p/websockets@$PWD/packages/transport-websockets'
- 'libp2p@$PWD/packages/libp2p'
- name: js-libp2p-example-chat
repo: https://github.com/libp2p/js-libp2p-example-chat.git
deps:
- '@libp2p/mdns@$PWD/packages/peer-discovery-mdns'
- '@libp2p/tcp@$PWD/packages/transport-tcp'
- '@libp2p/websockets@$PWD/packages/transport-websockets'
- 'libp2p@$PWD/packages/libp2p'
# - name: js-libp2p-example-circuit-relay
# repo: https://github.com/libp2p/js-libp2p-example-circuit-relay.git
# deps:
# - '@libp2p/circuit-relay-v2@$PWD/packages/transport-circuit-relay-v2'
# - '@libp2p/identify@$PWD/packages/protocol-identify'
# - '@libp2p/websockets@$PWD/packages/transport-websockets'
# - 'libp2p@$PWD/packages/libp2p'
- name: js-libp2p-example-circuit-relay
repo: https://github.com/libp2p/js-libp2p-example-circuit-relay.git
deps:
- '@libp2p/circuit-relay-v2@$PWD/packages/transport-circuit-relay-v2'
- '@libp2p/identify@$PWD/packages/protocol-identify'
- '@libp2p/websockets@$PWD/packages/transport-websockets'
- 'libp2p@$PWD/packages/libp2p'
- name: js-libp2p-example-connection-encryption
repo: https://github.com/libp2p/js-libp2p-example-connection-encryption.git
deps:
Expand All @@ -62,10 +62,10 @@ jobs:
- '@libp2p/tcp@$PWD/packages/transport-tcp'
- '@libp2p/websockets@$PWD/packages/transport-websockets'
- 'libp2p@$PWD/packages/libp2p'
# - name: js-libp2p-example-delegated-routing
# repo: https://github.com/libp2p/js-libp2p-example-delegated-routing.git
# deps:
# - 'libp2p@$PWD/packages/libp2p'
- name: js-libp2p-example-delegated-routing
repo: https://github.com/libp2p/js-libp2p-example-delegated-routing.git
deps:
- 'libp2p@$PWD/packages/libp2p'
- name: js-libp2p-example-discovery-mechanisms
repo: https://github.com/libp2p/js-libp2p-example-discovery-mechanisms.git
deps:
Expand Down Expand Up @@ -106,15 +106,15 @@ jobs:
- '@libp2p/tcp@$PWD/packages/transport-tcp'
- '@libp2p/websockets@$PWD/packages/transport-websockets'
- 'libp2p@$PWD/packages/libp2p'
# - name: js-libp2p-example-webrtc-private-to-private
# repo: https://github.com/libp2p/js-libp2p-example-webrtc-private-to-private.git
# deps:
# - '@libp2p/circuit-relay-v2@$PWD/packages/transport-circuit-relay-v2'
# - '@libp2p/identify@$PWD/packages/protocol-identify'
# - '@libp2p/ping@$PWD/packages/protocol-ping'
# - '@libp2p/webrtc@$PWD/packages/transport-webrtc'
# - '@libp2p/websockets@$PWD/packages/transport-websockets'
# - 'libp2p@$PWD/packages/libp2p'
- name: js-libp2p-example-webrtc-private-to-private
repo: https://github.com/libp2p/js-libp2p-example-webrtc-private-to-private.git
deps:
- '@libp2p/circuit-relay-v2@$PWD/packages/transport-circuit-relay-v2'
- '@libp2p/identify@$PWD/packages/protocol-identify'
- '@libp2p/ping@$PWD/packages/protocol-ping'
- '@libp2p/webrtc@$PWD/packages/transport-webrtc'
- '@libp2p/websockets@$PWD/packages/transport-websockets'
- 'libp2p@$PWD/packages/libp2p'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down

0 comments on commit a657bbd

Please sign in to comment.