Commit Graph

132 Commits

Author SHA1 Message Date
fryorcraken.eth 3aed340cb2
chore: only build what is necessary to test
Script to build enough to run tests locally and in CI (skip bundling).
2023-01-30 20:32:43 +11:00
Danish Arora eecdb6aeeb
chore: upgrade to node 18 (#1061)
* chore: change `localhost` -> `127.0.0.1`

There is a change in how Node does DNS resolution in Node 18 vs
16 -- `localhost` resolves to `::1`, which is the equivalent of
`127.0.0.1` but in IPv6 instead of IPv4. The server however is
only listening on IPv4.
Reference:
https://github.com/nodejs/node/issues/40702#issuecomment-958143154

* refactor: change node version on CI from 16 to 18
2022-12-12 10:52:17 +05:30
danisharora099 b8c5d27a3c
chore: redeploy 2022-11-22 22:53:15 +05:30
danisharora099 9c8d7a5cd4
chore: redeploy 2022-11-22 22:47:04 +05:30
fryorcraken.eth 8984721d47
chore: upgrade artifact action, ensure no artifact override 2022-11-17 13:01:00 +11:00
fryorcraken.eth 0cabd9a38e
chore: move debug log to file, upload it 2022-11-17 12:53:51 +11:00
fryorcraken.eth 12de3a14e7
chore: fix log path for ci upload 2022-11-17 12:53:38 +11:00
fryorcraken.eth ab61eac84f
chore(ci/tests): bump nwaku to v0.13.0 2022-11-15 22:01:27 +11:00
fryorcraken.eth d165b5a1d5
test: run CI against nwaku origin/master
To pick up any upcoming issue.
2022-11-15 15:24:14 +11:00
fryorcraken.eth 6b5c18f4a1
chore: remove release action in CI 2022-11-04 10:07:35 +11:00
fryorcraken.eth 86e62a0ed1
chore(ci): release all packages, not the root one 2022-11-02 16:56:50 +11:00
fryorcraken.eth 5df320de32
chore: must always build first now 2022-11-02 14:16:31 +11:00
fryorcraken.eth fb2b58898d
chore: must build before we check 2022-11-01 19:48:44 +11:00
fryorcraken.eth a6276a49b0
chore: only attempt to release for a push on master branch 2022-10-31 14:17:34 +11:00
fryorcraken.eth 88a3c2adf0
chore: setup automated releasing from master 2022-10-31 12:15:37 +11:00
fryorcraken.eth b3c68fec4d
chore: remove release @next 2022-10-31 11:40:46 +11:00
fryorcraken.eth cd1d7b813b
chore: fix ci 2022-10-31 11:22:25 +11:00
fryorcraken.eth 5421008ff3
ci: bump go-waku to 0.2.2 2022-09-16 12:29:40 +10:00
fryorcraken.eth 3766962b47
ci: fix node version for go-waku 2022-09-05 21:02:01 +10:00
fryorcraken.eth 3eb9c80041
ci: generate & check doc 2022-08-25 15:54:05 +10:00
fryorcraken.eth 2cb46b9924
ci: fix relative path of waku bin 2022-08-25 14:48:58 +10:00
fryorcraken.eth 3bbdb9d98d
ci: print go-waku version when testing 2022-08-25 14:48:58 +10:00
Franck Royer e1bb2b351c
ci: run with go-waku 2022-08-25 14:48:57 +10:00
fryorcraken.eth 771d515b6f
ci: rename nim-waku to nwaku and upgrade to v0.11 2022-08-20 01:04:19 +10:00
fryorcraken.eth 501a3329f0
ci: remove trivial descriptions 2022-08-19 23:34:52 +10:00
fryorcraken.eth 0ec17c2f96
ci: split in several jobs 2022-08-19 23:34:52 +10:00
fryorcraken.eth 6019082240
ci: bump actions/checkout to v3 2022-08-19 23:34:52 +10:00
fryorcraken.eth b47fe21e39
ci: only test on ubuntu
Browser is what actually matter.
2022-08-19 23:34:52 +10:00
fryorcraken.eth e689b13106
ci: buildbuf is not used 2022-08-19 23:34:52 +10:00
fryorcraken.eth 215aa59b77
feat(ci): published merged PRs 2022-08-19 21:17:17 +10:00
fryorcraken.eth fd54d21e1a
refactor(ci): move node to env var, move env var up
So it can be used by all jobs.
2022-08-19 18:28:57 +10:00
fryorcraken.eth 8d1b461d61
chore(ci): upgrade setup-node action to v3 2022-08-19 18:26:46 +10:00
fryorcraken.eth dd30a56f15
fix(ci): caching is already handled by npm-install action 2022-08-19 18:26:08 +10:00
Franck Royer ca11dbf90c
Format proto code after generation 2022-06-20 14:32:21 +10:00
Franck Royer aaa0cef315
Remove dupe job 2022-06-20 14:32:21 +10:00
Franck Royer 882ddac94e
Run prettier on GitHub workflows 2022-05-02 16:37:25 +10:00
Franck 7bfbefa91a
Get system details before running nwaku 2022-04-06 12:39:19 +10:00
Franck ecd2445bf9
Update nim-waku to v0.9 2022-04-06 12:39:18 +10:00
Franck Royer a23d2be461
Upgrade nim-waku to 0.8 2022-04-06 12:39:18 +10:00
Franck R f44d700c11
Do not run bootstrap live data test as part of normal CI (#450) 2022-01-27 21:50:27 +11:00
Franck R cba5212872
Upgrade nim-waku to v0.7 (#417) 2022-01-19 15:43:45 +11:00
Franck Royer 2c16f0befb
Separate tests that use DNS data in CI 2022-01-14 12:44:06 +11:00
Franck Royer a1ad50f55b
Do not build nim-waku
But get the asset from GitHub.
2022-01-10 12:44:00 +11:00
Franck Royer 6d5ec49e5b
Debugging nim-waku caching
It always builds for some reason.
2022-01-10 12:42:03 +11:00
Franck Royer dbb3cdaa34
Remove run on macos
This is a browser library, there is little to no value to run the CI
on several OSes.
2022-01-10 11:42:59 +11:00
Franck Royer ddec271621
Make minimum support node version 16
A number of libp2p packages do not support node 14 anymore.
2022-01-06 14:17:17 +11:00
Franck c67664a21b
Debug changed files 2022-01-05 11:27:37 +11:00
Franck 5512cf309a
Rename `main` branch to `master` 2022-01-04 16:56:48 +11:00
F 38d114da63
Do not cache bufbuild
It only takes few seconds and the cached bin was actually not used.
2021-12-01 15:26:40 +11:00
F 4b727d9138
ci: Upgrade bufbuild to 0.56.0 2021-11-26 16:31:10 +11:00
Franck Royer 25cb167a6e
Fix actions/checkout@v2.3.3
As per https://github.com/actions/checkout/issues/417#issuecomment-775293723
2021-05-17 13:42:28 +10:00
Franck Royer 50eaa39fec
Add debug statement in tests
Also enable debug logs in CI.
2021-05-10 20:18:26 +10:00
Franck Royer aa6b869da1
Test are too unstable to run on different environment
Moreover the library targets browser execution so there is little
value in running on several node instances.
2021-04-29 16:40:54 +10:00
Franck Royer 37018ebff8
Add GH Token to avoid API rate limit 2021-04-29 15:07:08 +10:00
Franck Royer ccd3e5d6d1
Enable CI for NodeJS 16 and mac os 2021-04-29 11:03:49 +10:00
Franck Royer 5ed2a122fa
Authenticate to avoid API rate limit 2021-04-29 11:03:49 +10:00
Franck Royer ee6bcb8b3b
Runs CI on different node & os 2021-04-28 10:52:20 +10:00
Franck Royer a24805a533
Upgrade buf to latest version (0.41.0) 2021-04-26 15:46:36 +10:00
Franck Royer 441d906bd8
setup-buf only install buf it cannot be found 2021-04-26 15:46:06 +10:00
Franck Royer 880870bb15
Cache bufbuilder 2021-04-23 16:38:00 +10:00
Franck Royer 6bd0f123da
Cache bufbuilder 2021-04-23 16:37:56 +10:00
Franck Royer 8db22b4697
Check in protobuf generated files
So that developers do not have to install protobuf suite by default.
2021-04-20 15:38:40 +10:00
Franck Royer 4542e01f0e
Check in protobuf generated files
So that developers do not have to install protobuf suite by default.
2021-04-20 15:32:10 +10:00
Franck Royer 79382865e6
Always enable trace logs for nim-waku and remove color 2021-04-15 09:41:16 +10:00
Franck Royer 9a5acdc4ea
Build nim-waku if the binary cannot be executed 2021-03-26 14:35:18 +11:00
Franck Royer 162228150a
Add step to check wakunode2 binary 2021-03-26 14:12:16 +11:00
Franck Royer 30b0d5785a
Upload CI logs on failure 2021-03-26 13:09:44 +11:00
Franck Royer cae1bb53da
Increase nim-waku cache version due to CI issues 2021-03-25 20:10:27 +11:00
Franck Royer ea97bfa557
Setup bors 2021-03-24 15:59:27 +11:00
Franck Royer 1cf60d2615
Buid nim-waku node as separate ci step
So it's easily visible why a run takes longer and an update of the
submodule does not oddly increase the
test step duration.
2021-03-19 15:16:50 +11:00
Franck Royer 26c1511ee8
Cache npm cache in GitHub CI 2021-03-19 15:07:47 +11:00
Franck Royer c03f69a807
Always checkout submodules and actually get nim-waku head 2021-03-19 11:36:33 +11:00
Franck Royer b5c75f96ee
Use ref HEAD to identify cache
The .gitsubmodules does not change when a submodule is updated.
The cache should be updated whenever nim-waku is updated.
2021-03-19 10:41:40 +11:00
Franck Royer 57fa974812
rln shared lib is needed by nim-waku bin 2021-03-15 18:20:30 +11:00
Franck Royer cc84fb1c93
Add explanations around nim-waku setup 2021-03-15 18:04:17 +11:00
Franck Royer 267cc69989
Cache nim-waku binary 2021-03-15 17:50:38 +11:00
Franck Royer cbd3151fda
Correct npm syntax 2021-03-15 15:39:55 +11:00
Franck Royer f6bec18638
Install protoc
used by bufbuild
2021-03-15 15:35:42 +11:00
Franck Royer 589ca0258b
Uses latest buf 2021-03-15 15:23:54 +11:00
Franck Royer 21c1aafa4d
Install bufbuild
To get the `buf` binary
2021-03-15 14:56:06 +11:00
Franck Royer 9aa3f1340d
Cache npm deps 2021-03-15 14:50:52 +11:00
Franck Royer 40fe76a15e
CI skeleton
It is expected to fail at this stage.
2021-03-15 14:42:36 +11:00