diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be0d007747..60ff4cdc93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,3 +134,50 @@ jobs: with: name: go-waku-logs path: log/ + + node_with_nwaku_master: + runs-on: ubuntu-latest + env: + DEBUG: "waku*" + steps: + - uses: actions/checkout@v3 + with: + submodules: "recursive" + fetch-depth: 0 + + - name: Install NodeJS + uses: actions/setup-node@v3 + with: + node-version: ${{ env.NODE_JS }} + + - name: Pull nwaku origin/master + run: | + cd nwaku + git fetch origin + git checkout origin/master + + - uses: bahmutov/npm-install@v1 + + - name: build nwaku + run: | + cd packages/tests + npm run nwaku:force-build + + - name: Ensure wakunode2 is ready + shell: bash + run: | + uname -a + cd nwaku + ./build/wakunode2 --help + + - run: npm run build + - run: npm run test:node + env: + DEBUG: "waku:nwaku*,waku:test*" + + - name: Upload logs on failure + uses: actions/upload-artifact@v2 + if: failure() + with: + name: nwaku-master-logs + path: log/ diff --git a/package-lock.json b/package-lock.json index 4363950c75..354fe1f34a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11502,9 +11502,9 @@ } }, "node_modules/libp2p": { - "version": "0.39.2", - "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.39.2.tgz", - "integrity": "sha512-2C6WyljqwSlO2sGXgM4m6vFCT1TEspQ4UuVlOFq3/kGoI8ctC12z6gGiIDpzWslNGGMq6bop/Id8dAVmDOneMg==", + "version": "0.39.5", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.39.5.tgz", + "integrity": "sha512-zF/Tc3IRQ3M+W3wqn6zSICUc6gsdCdXCNjsWMudinfRTia6CnRbj68ZkjrUw0TA1j2bODwD2+CxAFTsn9iS0Nw==", "dependencies": { "@achingbrain/nat-port-mapper": "^1.0.3", "@libp2p/components": "^2.1.0", @@ -21894,7 +21894,7 @@ }, "packages/core": { "name": "@waku/core", - "version": "0.0.3", + "version": "0.0.5", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^4.1.1", @@ -21913,7 +21913,7 @@ "it-all": "^1.0.6", "it-length-prefixed": "^8.0.2", "it-pipe": "^2.0.4", - "libp2p": "0.39.2", + "libp2p": "0.39.5", "p-event": "^5.0.1", "protons-runtime": "^3.1.0", "uint8arraylist": "^2.3.2", @@ -22152,7 +22152,7 @@ }, "packages/interfaces": { "name": "@waku/interfaces", - "version": "0.0.2", + "version": "0.0.4", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^4.1.1", @@ -22160,7 +22160,7 @@ "@libp2p/interface-peer-id": "^1.0.5", "@libp2p/interface-peer-store": "^1.2.2", "@multiformats/multiaddr": "^11.0.6", - "libp2p": "0.39.2" + "libp2p": "0.39.5" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.8.1", @@ -26299,7 +26299,7 @@ "karma-chrome-launcher": "^3.1.0", "karma-mocha": "^2.0.1", "karma-webpack": "^5.0.0", - "libp2p": "0.39.2", + "libp2p": "0.39.5", "mocha": "^9.1.3", "npm-run-all": "^4.1.5", "p-event": "^5.0.1", @@ -26478,7 +26478,7 @@ "eslint-plugin-functional": "^4.0.2", "eslint-plugin-import": "^2.25.3", "eslint-plugin-prettier": "^4.0.0", - "libp2p": "0.39.2", + "libp2p": "0.39.5", "npm-run-all": "^4.1.5", "prettier": "^2.1.1", "typescript": "^4.6.3" @@ -31588,9 +31588,9 @@ } }, "libp2p": { - "version": "0.39.2", - "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.39.2.tgz", - "integrity": "sha512-2C6WyljqwSlO2sGXgM4m6vFCT1TEspQ4UuVlOFq3/kGoI8ctC12z6gGiIDpzWslNGGMq6bop/Id8dAVmDOneMg==", + "version": "0.39.5", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.39.5.tgz", + "integrity": "sha512-zF/Tc3IRQ3M+W3wqn6zSICUc6gsdCdXCNjsWMudinfRTia6CnRbj68ZkjrUw0TA1j2bODwD2+CxAFTsn9iS0Nw==", "requires": { "@achingbrain/nat-port-mapper": "^1.0.3", "@libp2p/components": "^2.1.0", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index e2d59c8aa7..ed4f57729f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## @waku/core [0.0.5](https://github.com/waku-org/js-waku/compare/@waku/core@0.0.4...@waku/core@0.0.5) (2022-11-11) + +### Changed + +- Bumped `libp2p` to 0.39.5. + +## @waku/core [0.0.4](https://github.com/waku-org/js-waku/compare/@waku/core@0.0.3...@waku/core@0.0.4) (2022-11-09) + +### Changed + +- Bumped `libp2p` to 0.39.2. + ## @waku/core [0.0.2](https://github.com/waku-org/js-waku/compare/@waku/core@0.0.1...@waku/core@0.0.2) (2022-11-04) ### Changed diff --git a/packages/core/package.json b/packages/core/package.json index d7fe1701d9..84b24025bf 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@waku/core", - "version": "0.0.3", + "version": "0.0.5", "description": "TypeScript implementation of the Waku v2 protocol", "types": "./dist/index.d.ts", "module": "./dist/index.js", @@ -102,7 +102,7 @@ "it-all": "^1.0.6", "it-length-prefixed": "^8.0.2", "it-pipe": "^2.0.4", - "libp2p": "0.39.2", + "libp2p": "0.39.5", "p-event": "^5.0.1", "protons-runtime": "^3.1.0", "uint8arraylist": "^2.3.2", diff --git a/packages/interfaces/package.json b/packages/interfaces/package.json index e06579c6d4..80a187a388 100644 --- a/packages/interfaces/package.json +++ b/packages/interfaces/package.json @@ -1,6 +1,6 @@ { "name": "@waku/interfaces", - "version": "0.0.2", + "version": "0.0.4", "description": "Definition of Waku interfaces", "types": "./dist/index.d.ts", "module": "./dist/index.js", @@ -53,7 +53,7 @@ "@libp2p/interface-peer-id": "^1.0.5", "@libp2p/interface-peer-store": "^1.2.2", "@multiformats/multiaddr": "^11.0.6", - "libp2p": "0.39.2" + "libp2p": "0.39.5" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.8.1",