This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 - name : Install dependencies
6767 run : npm ci
6868
69+ # We need this step because the `@keep-network/tbtc` which we update in
70+ # next step has a dependency to `@summa-tx/relay-sol@2.0.2` package, which
71+ # downloads one of its sub-dependencies via unathenticated `git://`
72+ # protocol. That protocol is no longer supported. Thanks to this step
73+ # `https://` is used instead of `git://`.
74+ - name : Configure git to don't use unauthenticated protocol
75+ run : git config --global url."https://".insteadOf git://
76+
6977 - name : Resolve latest contracts
7078 if : github.event_name != 'workflow_dispatch'
7179 run : |
Original file line number Diff line number Diff line change 2727 - name : Install dependencies
2828 run : npm ci
2929
30+ # We need this step because the `@keep-network/tbtc` which we update in
31+ # next step has a dependency to `@summa-tx/relay-sol@2.0.2` package, which
32+ # downloads one of its sub-dependencies via unathenticated `git://`
33+ # protocol. That protocol is no longer supported. Thanks to this step
34+ # `https://` is used instead of `git://`.
35+ - name : Configure git to don't use unauthenticated protocol
36+ run : git config --global url."https://".insteadOf git://
37+
3038 - name : Resolve latest contracts
3139 run : |
3240 npm update --save-exact \
Original file line number Diff line number Diff line change @@ -22,6 +22,18 @@ been a release.
2222
2323API stability is not guaranteed, but the API is likely ~90% complete.
2424
25+ *NOTE:* The `tbtc.js` package contains an indirect dependency to
26+ `@summa-tx/relay-sol@2.0.2` package, which downloads one of its sub-dependencies
27+ via unathenticated `git://` protocol. That protocol is no longer supported by
28+ GitHub. This means that in certain situations installation of the package or
29+ update of its dependencies using NPM may result in `The unauthenticated git
30+ protocol on port 9418 is no longer supported` error. +
31+ As a workaround, we advise changing Git configuration to use `https://` protocol
32+ instead of `git://` by executing:
33+ ```
34+ git config --global url."https://".insteadOf git://
35+ ```
36+
2537== Usage
2638
2739You need two things to use `tbtc.js`:
You can’t perform that action at this time.
0 commit comments