From 0c926f81fda7fdcf533fc42abfb4a0790537a1e3 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Mon, 6 Feb 2023 17:31:29 +0200 Subject: [PATCH 1/8] Add release-please --- .github/actionlint.yaml | 3 + .github/release-please/config.json | 16 +++ .github/release-please/manifest.json | 6 + .github/workflows/changelog_config.json | 5 - .github/workflows/e2e.yml | 10 ++ .github/workflows/lint.yml | 35 +++++ .github/workflows/release.yml | 168 ++++++++++++++++++++++++ .github/workflows/release_github.yml | 52 -------- .github/workflows/release_packages.yml | 39 ------ packages/fluence-js/package.json | 6 +- 10 files changed, 241 insertions(+), 99 deletions(-) create mode 100644 .github/actionlint.yaml create mode 100644 .github/release-please/config.json create mode 100644 .github/release-please/manifest.json delete mode 100644 .github/workflows/changelog_config.json create mode 100644 .github/workflows/lint.yml create mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/release_github.yml delete mode 100644 .github/workflows/release_packages.yml diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml new file mode 100644 index 000000000..be1bfdcd6 --- /dev/null +++ b/.github/actionlint.yaml @@ -0,0 +1,3 @@ +self-hosted-runner: + labels: + - builder diff --git a/.github/release-please/config.json b/.github/release-please/config.json new file mode 100644 index 000000000..0224e2479 --- /dev/null +++ b/.github/release-please/config.json @@ -0,0 +1,16 @@ +{ + "release-type": "node", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "plugins": [ + { + "type": "node-workspace" + } + ], + "packages": { + "packages/fluence-js": {}, + "packages/fluence-connection": {}, + "packages/fluence-interfaces": {}, + "packages/fluence-keypair": {} + } +} diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json new file mode 100644 index 000000000..d6e567d63 --- /dev/null +++ b/.github/release-please/manifest.json @@ -0,0 +1,6 @@ +{ + "packages/fluence-js": "0.28.0", + "packages/fluence-connection": "0.2.0", + "packages/fluence-interfaces": "0.1.0", + "packages/fluence-keypair": "0.2.0" +} diff --git a/.github/workflows/changelog_config.json b/.github/workflows/changelog_config.json deleted file mode 100644 index 9d01d64a6..000000000 --- a/.github/workflows/changelog_config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "template": "${{CHANGELOG}}\n\n${{UNCATEGORIZED}}", - "pr_template": "- #${{NUMBER}} ${{TITLE}}", - "empty_template": "- no changes" -} diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index d8ef19607..3c29d7409 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -4,9 +4,19 @@ on: pull_request: paths-ignore: - "**.md" + - ".github/**" + - "!.github/workflows/e2e.yml" + - "!.github/workflows/tests.yml" + - "!.github/workflows/snapshot.yml" push: branches: - "master" + paths-ignore: + - "**.md" + - ".github/**" + - "!.github/workflows/e2e.yml" + - "!.github/workflows/tests.yml" + - "!.github/workflows/snapshot.yml" concurrency: group: "${{ github.workflow }}-${{ github.ref }}" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..b3374a527 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,35 @@ +name: lint + +on: + pull_request: + types: + - opened + - edited + - synchronize + +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + +jobs: + pr: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + reviewdog: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Lint actions + uses: reviewdog/action-actionlint@v1 + env: + SHELLCHECK_OPTS: "-e SC2086 -e SC2207 -e SC2128" + with: + reporter: github-pr-check + fail_on_error: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..8b339bbd2 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,168 @@ +name: "release-please" + +on: + push: + branches: + - "master" + +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + +env: + CI: true + FORCE_COLOR: true + +jobs: + release-please: + runs-on: ubuntu-latest + + outputs: + release-created: ${{ steps.release.outputs.releases_created }} + pr: ${{ steps.release.outputs.pr }} + + steps: + - name: Run release-please + id: release + uses: google-github-actions/release-please-action@v3 + with: + token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }} + command: manifest + config-file: .github/release-please/config.json + manifest-file: .github/release-please/manifest.json + + - name: Show output from release-please + if: steps.release.outputs.releases_created + env: + RELEASE_PLEASE_OUTPUT: ${{ toJSON(steps.release.outputs) }} + run: echo "${RELEASE_PLEASE_OUTPUT}" | jq + + bump-version: + if: needs.release-please.outputs.pr != null + runs-on: ubuntu-latest + needs: + - release-please + + permissions: + contents: write + + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ fromJson(needs.release-please.outputs.pr).headBranchName }} + token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }} + + - name: Setup pnpm + uses: pnpm/action-setup@v2.2.4 + with: + version: 7 + + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: "16" + registry-url: "https://registry.npmjs.org" + cache: "pnpm" + + - run: pnpm i --no-frozen-lockfile + + - name: Commit version bump + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: "chore: Regenerate pnpm lock file" + branch: ${{ fromJson(needs.release-please.outputs.pr).headBranchName }} + commit_user_name: fluencebot + commit_user_email: devops@fluence.one + commit_author: fluencebot + + fluence-js: + if: needs.release-please.outputs.release-created + runs-on: ubuntu-latest + needs: + - release-please + + permissions: + contents: read + id-token: write + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Import secrets + uses: hashicorp/vault-action@v2.4.3 + with: + url: https://vault.fluence.dev + path: jwt/github + role: ci + method: jwt + jwtGithubAudience: "https://github.com/fluencelabs" + jwtTtl: 300 + exportToken: false + secrets: | + kv/npmjs/fluencebot token | NODE_AUTH_TOKEN + + - name: Setup pnpm + uses: pnpm/action-setup@v2.2.4 + with: + version: 7 + + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: "16" + registry-url: "https://registry.npmjs.org" + cache: "pnpm" + + - run: pnpm i + - run: pnpm run build + + - name: Publish to npm registry + run: pnpm --no-git-checks -r publish -filter '@fluencelabs/*' --access public --tags unstable + + slack: + if: always() + name: "Notify" + runs-on: ubuntu-latest + + needs: + - release-please + - fluence-js + + permissions: + contents: read + id-token: write + + steps: + - uses: lwhiteley/dependent-jobs-result-check@v1 + id: status + with: + statuses: failure + dependencies: ${{ toJSON(needs) }} + + - name: Log output + run: | + echo "statuses:" "${{ steps.status.outputs.statuses }}" + echo "jobs:" "${{ steps.status.outputs.jobs }}" + echo "found any?:" "${{ steps.status.outputs.found }}" + + - name: Import secrets + uses: hashicorp/vault-action@v2.4.3 + with: + url: https://vault.fluence.dev + path: jwt/github + role: ci + method: jwt + jwtGithubAudience: "https://github.com/fluencelabs" + jwtTtl: 300 + exportToken: false + secrets: | + kv/slack/release-please webhook | SLACK_WEBHOOK_URL + + - uses: ravsamhq/notify-slack-action@v2 + if: steps.status.outputs.found == 'true' + with: + status: "failure" + notification_title: "*{workflow}* has {status_message}" + message_format: "${{ steps.status.outputs.jobs }} {status_message} in <{repo_url}|{repo}>" + footer: "<{run_url}>" diff --git a/.github/workflows/release_github.yml b/.github/workflows/release_github.yml deleted file mode 100644 index c9c4dc2d7..000000000 --- a/.github/workflows/release_github.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: "Make github release" - -on: - workflow_dispatch: - -jobs: - release-github: - runs-on: ubuntu-latest - defaults: - run: - shell: bash - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: "Get the version of fluence-js package" - id: package-version - uses: martinbeentjes/npm-get-version-action@v1.2.3 - with: - path: packages/fluence-js - - - name: Set env - run: echo "RELEASE_VERSION=v${{ steps.package-version.outputs.current-version }}" >> $GITHUB_ENV - - - name: "Create tag for release" - uses: rickstaa/action-create-tag@v1 - with: - tag: ${{ env.RELEASE_VERSION }} - message: "" - github_token: ${{ secrets.GITHUB_TOKEN }} - - ### Create a release - - name: Build Changelog - id: changelog - uses: mikepenz/release-changelog-builder-action@v3 - with: - configuration: ".github/workflows/changelog_config.json" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Release - id: release - uses: softprops/action-gh-release@v1 - with: - name: Fluence JS ${{ env.RELEASE_VERSION }} - tag_name: ${{ env.RELEASE_VERSION }} - body: ${{steps.changelog.outputs.changelog}} - draft: false - prerelease: false - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/release_packages.yml b/.github/workflows/release_packages.yml deleted file mode 100644 index 3d7aaeca3..000000000 --- a/.github/workflows/release_packages.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: "Release packages" - -on: - workflow_dispatch: - -jobs: - release-packages: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: pnpm/action-setup@v2.2.4 - with: - version: 7 - - - name: "Setup node" - uses: actions/setup-node@v3 - with: - node-version: "16" - registry-url: 'https://registry.npmjs.org' - - - name: "Build packages" - run: | - pnpm i - pnpm -r build - - - name: "Publish to npmjs.com" - run: | - result=$(pnpm --no-git-checks -r publish -filter '@fluencelabs/*' --access public) - if [[ $result == "There are no new packages that should be published" ]] - then - echo ERROR: no packages have been published. Did you forget to bump version? - exit 1 - fi - env: - CI: true - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - diff --git a/packages/fluence-js/package.json b/packages/fluence-js/package.json index 665de80e3..11076c366 100644 --- a/packages/fluence-js/package.json +++ b/packages/fluence-js/package.json @@ -26,9 +26,9 @@ }, "dependencies": { "@fluencelabs/avm": "0.35.3", - "@fluencelabs/connection": "workspace:0.2.0", - "@fluencelabs/interfaces": "workspace:0.1.0", - "@fluencelabs/keypair": "workspace:0.2.0", + "@fluencelabs/connection": "0.2.0", + "@fluencelabs/interfaces": "0.1.0", + "@fluencelabs/keypair": "0.2.0", "@fluencelabs/marine-js": "0.3.37", "async": "3.2.4", "base64-js": "^1.5.1", From 43127910605e894a62319e2593cd282703f91b44 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Mon, 6 Feb 2023 17:35:32 +0200 Subject: [PATCH 2/8] Fix --- packages/fluence-connection/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fluence-connection/package.json b/packages/fluence-connection/package.json index 7d8e03674..d866476b2 100644 --- a/packages/fluence-connection/package.json +++ b/packages/fluence-connection/package.json @@ -15,7 +15,7 @@ "author": "Fluence Labs", "license": "Apache-2.0", "dependencies": { - "@fluencelabs/interfaces": "workspace:0.1.0", + "@fluencelabs/interfaces": "0.1.0", "peer-id": "0.16.0", "it-length-prefixed": "5.0.3", "it-pipe": "1.1.0", From ebec2db717527de393bbe94ea68f637ac25f5892 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Mon, 6 Feb 2023 17:45:14 +0200 Subject: [PATCH 3/8] Fix ci.js --- ci.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ci.js b/ci.js index 8df673228..bf4bc821e 100644 --- a/ci.js +++ b/ci.js @@ -74,12 +74,7 @@ function processDep(obj, name, fn) { return; } - if (!/^workspace\:/.test(obj[name])) { - return; - } - - const version = obj[name].replace("workspace:", ""); - fn(obj, version); + fn(obj, obj[name]); } async function getVersionsMap(allPackageJsons) { return new Map(await Promise.all(allPackageJsons.map(getVersion))); @@ -125,7 +120,7 @@ async function bumpVersions(file, versionsMap) { // bump dependencies for (const [name, version] of versionsMap) { - const update = (x) => (x[name] = `workspace:${version}-${postfix}`); + const update = (x) => (x[name] = `${version}-${postfix}`); processDep(json.dependencies, name, update); processDep(json.devDependencies, name, update); } From 43b7429cd70c40ab6223a149a6fa7af2fcf84353 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Mon, 6 Feb 2023 17:45:42 +0200 Subject: [PATCH 4/8] Rename fluence-js --- .github/release-please/config.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/release-please/config.json b/.github/release-please/config.json index 0224e2479..027e0b3a3 100644 --- a/.github/release-please/config.json +++ b/.github/release-please/config.json @@ -8,7 +8,9 @@ } ], "packages": { - "packages/fluence-js": {}, + "packages/fluence-js": { + "component": "fluence-js" + }, "packages/fluence-connection": {}, "packages/fluence-interfaces": {}, "packages/fluence-keypair": {} From 66319757099e9f83be6dad033945ca0c0078a7c6 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Mon, 6 Feb 2023 17:46:56 +0200 Subject: [PATCH 5/8] Run pnpm i --- pnpm-lock.yaml | 159 ++++++++++++++++++++++++++------------------ pnpm-workspace.yaml | 1 - 2 files changed, 94 insertions(+), 66 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8a96f96e7..4cd71f119 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ importers: packages/fluence-connection: specifiers: '@chainsafe/libp2p-noise': ^4.1.1 - '@fluencelabs/interfaces': workspace:0.1.0 + '@fluencelabs/interfaces': 0.1.0 browser-or-node: 2.0.0 buffer: ^6.0.3 it-length-prefixed: 5.0.3 @@ -38,12 +38,12 @@ importers: buffer: 6.0.3 it-length-prefixed: 5.0.3 it-pipe: 1.1.0 - libp2p: 0.36.2 - libp2p-interfaces: 4.0.6 + libp2p: 0.36.2_node-fetch@3.2.10 + libp2p-interfaces: 4.0.6_node-fetch@3.2.10 libp2p-mplex: 0.10.7 - libp2p-websockets: 0.16.2 + libp2p-websockets: 0.16.2_node-fetch@3.2.10 loglevel: 1.8.1 - multiaddr: 10.0.1 + multiaddr: 10.0.1_node-fetch@3.2.10 peer-id: 0.16.0 devDependencies: typescript: 4.7.4 @@ -59,10 +59,10 @@ importers: '@fluencelabs/aqua': 0.7.7-362 '@fluencelabs/aqua-lib': 0.6.0 '@fluencelabs/avm': 0.35.3 - '@fluencelabs/connection': workspace:0.2.0 + '@fluencelabs/connection': 0.2.0 '@fluencelabs/fluence-network-environment': ^1.0.13 - '@fluencelabs/interfaces': workspace:0.1.0 - '@fluencelabs/keypair': workspace:0.2.0 + '@fluencelabs/interfaces': 0.1.0 + '@fluencelabs/keypair': 0.2.0 '@fluencelabs/marine-js': 0.3.37 '@types/bs58': ^4.0.1 '@types/jest': ^27.5.1 @@ -108,7 +108,7 @@ importers: ts-pattern: 3.3.3 uuid: 8.3.2 devDependencies: - '@fluencelabs/aqua': 0.7.7-362_rl5xm3oiydas7snsul2pa47p2m + '@fluencelabs/aqua': 0.7.7-362_xzerzk4w2bpfgrtdtvycakab5a '@fluencelabs/aqua-lib': 0.6.0 '@fluencelabs/fluence-network-environment': 1.0.13 '@types/bs58': 4.0.1 @@ -118,7 +118,7 @@ importers: jest: 28.1.3 jest-each: 28.1.3 js-base64: 3.7.2 - multiaddr: 10.0.1 + multiaddr: 10.0.1_node-fetch@3.2.10 ts-jest: 28.0.8_wnrrwh7x4gcdskobbfqnvknnyi typedoc: 0.22.18_typescript@4.7.4 typescript: 4.7.4 @@ -474,14 +474,14 @@ packages: resolution: {integrity: sha512-ifjtCM93KO3LhzPkMxqmXhwLmrg/scjOiyTihEVg7ns5N+BVzaK1eWzdOdqGdl9ZVoah43pdlQUepEo7VdRmsw==} dev: true - /@fluencelabs/aqua/0.7.7-362_rl5xm3oiydas7snsul2pa47p2m: + /@fluencelabs/aqua/0.7.7-362_xzerzk4w2bpfgrtdtvycakab5a: resolution: {integrity: sha512-CwvBc3wKQdvnDM4Zxj6yFE5MR2oeh+EZ++m2hLvENt7OWl3cnZVR4cJQkRxMMLVT0MxRwLiy97UIBwGsPqlSCA==} dependencies: '@fluencelabs/aqua-ipfs': 0.5.5 '@fluencelabs/aqua-lib': 0.5.2 - '@fluencelabs/fluence': 0.26.3-snapshot-4_rl5xm3oiydas7snsul2pa47p2m + '@fluencelabs/fluence': 0.26.3-snapshot-4_xzerzk4w2bpfgrtdtvycakab5a '@fluencelabs/fluence-network-environment': 1.0.13 - ipfs-http-client: 50.1.2 + ipfs-http-client: 50.1.2_node-fetch@3.2.10 transitivePeerDependencies: - '@babel/core' - '@types/jest' @@ -489,6 +489,7 @@ packages: - bufferutil - esbuild - jest + - node-fetch - supports-color - typescript - utf-8-validate @@ -502,7 +503,7 @@ packages: resolution: {integrity: sha512-Y5mPPCmAUUKc5CDO12IL8mGEreWa7maVdX0MWCAH4+GvfLPFN1FxOMSKRYEtvkyVEL88pc9pd8cm5IRCBkFthg==} dev: false - /@fluencelabs/connection/0.2.0: + /@fluencelabs/connection/0.2.0_node-fetch@3.2.10: resolution: {integrity: sha512-0jTRI1h/j/fR2VaLIlcIm6VoP3j2jL2lI6/OaYaOnwGXmI6CbZWHNeq9eaKWycT9B1vpN9wHu0Vi7vH3pFplhg==} engines: {node: '>=10', pnpm: '>=3'} dependencies: @@ -512,15 +513,16 @@ packages: buffer: 6.0.3 it-length-prefixed: 5.0.3 it-pipe: 1.1.0 - libp2p: 0.36.2 - libp2p-interfaces: 4.0.6 + libp2p: 0.36.2_node-fetch@3.2.10 + libp2p-interfaces: 4.0.6_node-fetch@3.2.10 libp2p-mplex: 0.10.7 - libp2p-websockets: 0.16.2 + libp2p-websockets: 0.16.2_node-fetch@3.2.10 loglevel: 1.8.0 - multiaddr: 10.0.1 + multiaddr: 10.0.1_node-fetch@3.2.10 peer-id: 0.16.0 transitivePeerDependencies: - bufferutil + - node-fetch - supports-color - utf-8-validate dev: true @@ -529,12 +531,12 @@ packages: resolution: {integrity: sha512-2pci3T0sUHE08jwEs1r/vHKVT4XUh/A3j/QJ0eIhddsxyIjEksjdn05X7DF6STD14CF8GgBVOJEPgav8qaUMpA==} dev: true - /@fluencelabs/fluence/0.26.3-snapshot-4_rl5xm3oiydas7snsul2pa47p2m: + /@fluencelabs/fluence/0.26.3-snapshot-4_xzerzk4w2bpfgrtdtvycakab5a: resolution: {integrity: sha512-M/iQhnViXfMaATj3gFPQXrZe9zSVcyN9F9A9hfJBUn0VLamhmbfeIoSZeheK8VGBxYbRGcrtoqLPTy1vJQVgVw==} engines: {node: '>=10', pnpm: '>=3'} dependencies: '@fluencelabs/avm': 0.31.4 - '@fluencelabs/connection': 0.2.0 + '@fluencelabs/connection': 0.2.0_node-fetch@3.2.10 '@fluencelabs/interfaces': 0.1.0 '@fluencelabs/keypair': 0.2.0 '@fluencelabs/marine-js': 0.3.18_rl5xm3oiydas7snsul2pa47p2m @@ -558,6 +560,7 @@ packages: - bufferutil - esbuild - jest + - node-fetch - supports-color - typescript - utf-8-validate @@ -1220,7 +1223,7 @@ packages: resolution: {integrity: sha512-B+rDnWasMi/eWcajPcCWSlYc7muXOrcYrqgyzcdKisl2H/WTlQ0gip1KyQfr0ZlxJdsuWCj/LWwQm7fhyhRfIQ==} dependencies: abort-controller: 3.0.0 - native-abort-controller: 1.0.4 + native-abort-controller: 1.0.4_abort-controller@3.0.0 dev: true /any-signal/3.0.1: @@ -1680,13 +1683,14 @@ packages: engines: {node: '>=0.3.1'} dev: false - /dns-over-http-resolver/1.2.3: + /dns-over-http-resolver/1.2.3_node-fetch@3.2.10: resolution: {integrity: sha512-miDiVSI6KSNbi4SVifzO/reD8rMnxgrlnkrlkugOLQpWQTe2qMdHsZp5DmfKjxNE+/T3VAAYLQUZMv9SMr6+AA==} dependencies: debug: 4.3.4 - native-fetch: 3.0.0 + native-fetch: 3.0.0_node-fetch@3.2.10 receptacle: 1.3.2 transitivePeerDependencies: + - node-fetch - supports-color /ecc-jsbn/0.1.2: @@ -2093,19 +2097,20 @@ packages: resolution: {integrity: sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==} engines: {node: '>= 10'} - /ipfs-core-types/0.5.2: + /ipfs-core-types/0.5.2_node-fetch@3.2.10: resolution: {integrity: sha512-DOQeL+GFGYMTlnbdtMeBzvfVnyAalSgCfPr8XUCI+FVBZZWwzkt5jZZzGDmF87HVRrMR3FuVyBKZj772mcXKyQ==} dependencies: cids: 1.1.9 interface-datastore: 4.0.2 ipld-block: 0.11.1 - multiaddr: 9.0.2 + multiaddr: 9.0.2_node-fetch@3.2.10 multibase: 4.0.6 transitivePeerDependencies: + - node-fetch - supports-color dev: true - /ipfs-core-utils/0.8.3: + /ipfs-core-utils/0.8.3_node-fetch@3.2.10: resolution: {integrity: sha512-PY7PkCgCtVYtNOe1C3ew1+5D9NqXqizb886R/lyGWe+KsmWtBQkQIk0ZIDwKyHGvG2KA2QQeIDzdOmzBQBJtHQ==} dependencies: any-signal: 2.1.2 @@ -2113,22 +2118,23 @@ packages: browser-readablestream-to-it: 1.0.3 cids: 1.1.9 err-code: 3.0.1 - ipfs-core-types: 0.5.2 + ipfs-core-types: 0.5.2_node-fetch@3.2.10 ipfs-unixfs: 4.0.3 ipfs-utils: 8.1.6 it-all: 1.0.6 it-map: 1.0.6 it-peekable: 1.0.3 - multiaddr: 9.0.2 - multiaddr-to-uri: 7.0.0 + multiaddr: 9.0.2_node-fetch@3.2.10 + multiaddr-to-uri: 7.0.0_node-fetch@3.2.10 parse-duration: 1.0.2 timeout-abort-controller: 1.1.1 uint8arrays: 2.1.10 transitivePeerDependencies: + - node-fetch - supports-color dev: true - /ipfs-http-client/50.1.2: + /ipfs-http-client/50.1.2_node-fetch@3.2.10: resolution: {integrity: sha512-ZbJlED4wqwFXQFVB9FQDs20ygdq7O/zSq4AvO9KRAmkqUj2TsCWCteUz2fBMnGWLh2tExxeSl/rQbHbJptb8JQ==} engines: {node: '>=14.0.0', npm: '>=3.0.0'} dependencies: @@ -2137,8 +2143,8 @@ packages: cids: 1.1.9 debug: 4.3.4 form-data: 4.0.0 - ipfs-core-types: 0.5.2 - ipfs-core-utils: 0.8.3 + ipfs-core-types: 0.5.2_node-fetch@3.2.10 + ipfs-core-utils: 0.8.3_node-fetch@3.2.10 ipfs-unixfs: 4.0.3 ipfs-utils: 8.1.6 ipld-block: 0.11.1 @@ -2150,16 +2156,17 @@ packages: it-tar: 3.0.0 it-to-stream: 1.0.0 merge-options: 3.0.4 - multiaddr: 9.0.2 + multiaddr: 9.0.2_node-fetch@3.2.10 multibase: 4.0.6 multicodec: 3.2.1 multihashes: 4.0.3 nanoid: 3.3.4 - native-abort-controller: 1.0.4 + native-abort-controller: 1.0.4_abort-controller@3.0.0 parse-duration: 1.0.2 stream-to-it: 0.2.4 uint8arrays: 2.1.10 transitivePeerDependencies: + - node-fetch - supports-color dev: true @@ -2185,8 +2192,8 @@ packages: it-to-stream: 1.0.0 merge-options: 3.0.4 nanoid: 3.3.4 - native-abort-controller: 1.0.4 - native-fetch: 3.0.0 + native-abort-controller: 1.0.4_abort-controller@3.0.0 + native-fetch: 3.0.0_hmwa7nplpltavckpkeobtw6pv4 node-fetch: /@achingbrain/node-fetch/2.6.7 react-native-fetch-api: 2.0.0 stream-to-it: 0.2.4 @@ -2205,7 +2212,7 @@ packages: it-to-stream: 1.0.0 merge-options: 3.0.4 nanoid: 3.3.4 - native-fetch: 3.0.0 + native-fetch: 3.0.0_hmwa7nplpltavckpkeobtw6pv4 node-fetch: /@achingbrain/node-fetch/2.6.7 react-native-fetch-api: 2.0.0 stream-to-it: 0.2.4 @@ -2758,9 +2765,11 @@ packages: '@jest/types': 28.1.3 '@types/node': 18.7.14 - /jest-pnp-resolver/1.2.2: + /jest-pnp-resolver/1.2.2_jest-resolve@28.1.3: resolution: {integrity: sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==} engines: {node: '>=6'} + peerDependencies: + jest-resolve: '*' peerDependenciesMeta: jest-resolve: optional: true @@ -2787,7 +2796,7 @@ packages: chalk: 4.1.2 graceful-fs: 4.2.10 jest-haste-map: 28.1.3 - jest-pnp-resolver: 1.2.2 + jest-pnp-resolver: 1.2.2_jest-resolve@28.1.3 jest-util: 28.1.3 jest-validate: 28.1.3 resolve: 1.22.1 @@ -3072,7 +3081,7 @@ packages: protobufjs: 6.11.3 uint8arrays: 3.1.0 - /libp2p-interfaces/4.0.6: + /libp2p-interfaces/4.0.6_node-fetch@3.2.10: resolution: {integrity: sha512-3KjzNEIWhi+VoOamLvgKKUE/xqwxSw/JYqsBnfMhAWVRvRtosROtVT03wci2XbuuowCYw+/hEX1xKJIR1w5n0A==} dependencies: abortable-iterator: 3.0.2 @@ -3082,13 +3091,14 @@ packages: it-pipe: 1.1.0 it-pushable: 1.4.2 libp2p-crypto: 0.21.2 - multiaddr: 10.0.1 + multiaddr: 10.0.1_node-fetch@3.2.10 multiformats: 9.9.0 p-queue: 6.6.2 peer-id: 0.16.0 protobufjs: 6.11.3 uint8arrays: 3.1.0 transitivePeerDependencies: + - node-fetch - supports-color /libp2p-mplex/0.10.7: @@ -3104,7 +3114,7 @@ packages: transitivePeerDependencies: - supports-color - /libp2p-utils/0.4.1: + /libp2p-utils/0.4.1_node-fetch@3.2.10: resolution: {integrity: sha512-kq/US2unamiyY+YwP47dO1uqpAdcbdYI2Fzi9JIEhjfPBaD1MR/uyQ/YP7ABthl3EaxAjIQYd1TVp85d6QKAtQ==} dependencies: abortable-iterator: 3.0.2 @@ -3112,12 +3122,13 @@ packages: err-code: 3.0.1 ip-address: 8.1.0 is-loopback-addr: 1.0.1 - multiaddr: 10.0.1 + multiaddr: 10.0.1_node-fetch@3.2.10 private-ip: 2.3.4 transitivePeerDependencies: + - node-fetch - supports-color - /libp2p-websockets/0.16.2: + /libp2p-websockets/0.16.2_node-fetch@3.2.10: resolution: {integrity: sha512-QGfo8jX1Ks16yi8C67CCyMW7k9cfCYiQ0lzKVJBud0fV3ymbMO2L8gzU6iXUUZTHILo8ka26zKhwQ4lmUMI+nA==} dependencies: abortable-iterator: 3.0.2 @@ -3126,18 +3137,19 @@ packages: err-code: 3.0.1 ipfs-utils: 9.0.7 it-ws: 4.0.0 - libp2p-utils: 0.4.1 - mafmt: 10.0.0 - multiaddr: 10.0.1 - multiaddr-to-uri: 8.0.0 + libp2p-utils: 0.4.1_node-fetch@3.2.10 + mafmt: 10.0.0_node-fetch@3.2.10 + multiaddr: 10.0.1_node-fetch@3.2.10 + multiaddr-to-uri: 8.0.0_node-fetch@3.2.10 p-defer: 3.0.0 p-timeout: 4.1.0 transitivePeerDependencies: - bufferutil + - node-fetch - supports-color - utf-8-validate - /libp2p/0.36.2: + /libp2p/0.36.2_node-fetch@3.2.10: resolution: {integrity: sha512-UpNYBMQVivMu56zoibdGitopv39uBBAybIBOEGWmFy/I2NnTVGUutLPrxo47AuN2kntYgo/TNJfW+PpswUgSaw==} engines: {node: '>=15.0.0'} dependencies: @@ -3168,12 +3180,12 @@ packages: it-sort: 1.0.1 it-take: 1.0.2 libp2p-crypto: 0.21.2 - libp2p-interfaces: 4.0.6 - libp2p-utils: 0.4.1 - mafmt: 10.0.0 + libp2p-interfaces: 4.0.6_node-fetch@3.2.10 + libp2p-utils: 0.4.1_node-fetch@3.2.10 + mafmt: 10.0.0_node-fetch@3.2.10 merge-options: 3.0.4 mortice: 2.0.1 - multiaddr: 10.0.1 + multiaddr: 10.0.1_node-fetch@3.2.10 multiformats: 9.7.1 multistream-select: 3.0.2 mutable-proxy: 1.0.0 @@ -3196,6 +3208,7 @@ packages: wherearewe: 1.0.2 xsalsa20: 1.2.0 transitivePeerDependencies: + - node-fetch - supports-color /lines-and-columns/1.2.4: @@ -3233,11 +3246,12 @@ packages: resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==} dev: true - /mafmt/10.0.0: + /mafmt/10.0.0_node-fetch@3.2.10: resolution: {integrity: sha512-K1bziJOXcnepfztu+2Xy9FLKVLaFMDuspmiyJIYRxnO0WOxFSV7XKSdMxMrVZxcvg1+YjlTIvSGTImUHU2k4Aw==} dependencies: - multiaddr: 10.0.1 + multiaddr: 10.0.1_node-fetch@3.2.10 transitivePeerDependencies: + - node-fetch - supports-color /make-dir/3.1.0: @@ -3330,44 +3344,48 @@ packages: /ms/2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - /multiaddr-to-uri/7.0.0: + /multiaddr-to-uri/7.0.0_node-fetch@3.2.10: resolution: {integrity: sha512-VbscDpLcbV0m25tJqfnZSfbjVUuNlPa4BbD5l/7me1t0lc3SWI0XAoO5E/PNJF0e1qUlbdq7yjVFEQjUT+9r0g==} dependencies: - multiaddr: 9.0.2 + multiaddr: 9.0.2_node-fetch@3.2.10 transitivePeerDependencies: + - node-fetch - supports-color dev: true - /multiaddr-to-uri/8.0.0: + /multiaddr-to-uri/8.0.0_node-fetch@3.2.10: resolution: {integrity: sha512-dq4p/vsOOUdVEd1J1gl+R2GFrXJQH8yjLtz4hodqdVbieg39LvBOdMQRdQnfbg5LSM/q1BYNVf5CBbwZFFqBgA==} dependencies: - multiaddr: 10.0.1 + multiaddr: 10.0.1_node-fetch@3.2.10 transitivePeerDependencies: + - node-fetch - supports-color - /multiaddr/10.0.1: + /multiaddr/10.0.1_node-fetch@3.2.10: resolution: {integrity: sha512-G5upNcGzEGuTHkzxezPrrD6CaIHR9uo+7MwqhNVcXTs33IInon4y7nMiGxl2CY5hG7chvYQUQhz5V52/Qe3cbg==} dependencies: - dns-over-http-resolver: 1.2.3 + dns-over-http-resolver: 1.2.3_node-fetch@3.2.10 err-code: 3.0.1 is-ip: 3.1.0 multiformats: 9.6.5 uint8arrays: 3.1.0 varint: 6.0.0 transitivePeerDependencies: + - node-fetch - supports-color - /multiaddr/9.0.2: + /multiaddr/9.0.2_node-fetch@3.2.10: resolution: {integrity: sha512-YFaEb9t4yXSbaGksSEdg+Kn2U02s7w4wXUgyEMQmPxFJj7CfVHY10WOsScAX/rK6Soa15S1zXYadqH9TtlVreQ==} dependencies: cids: 1.1.9 - dns-over-http-resolver: 1.2.3 + dns-over-http-resolver: 1.2.3_node-fetch@3.2.10 err-code: 3.0.1 is-ip: 3.1.0 multibase: 4.0.6 uint8arrays: 2.1.10 varint: 6.0.0 transitivePeerDependencies: + - node-fetch - supports-color dev: true @@ -3458,14 +3476,25 @@ packages: transitivePeerDependencies: - supports-color - /native-abort-controller/1.0.4: + /native-abort-controller/1.0.4_abort-controller@3.0.0: resolution: {integrity: sha512-zp8yev7nxczDJMoP6pDxyD20IU0T22eX8VwN2ztDccKvSZhRaV33yP1BGwKSZfXuqWUzsXopVFjBdau9OOAwMQ==} + peerDependencies: + abort-controller: '*' dependencies: abort-controller: 3.0.0 dev: true - /native-fetch/3.0.0: + /native-fetch/3.0.0_hmwa7nplpltavckpkeobtw6pv4: resolution: {integrity: sha512-G3Z7vx0IFb/FQ4JxvtqGABsOTIqRWvgQz6e+erkB+JJD6LrszQtMozEHI4EkmgZQvnGHrpLVzUWk7t4sJCIkVw==} + peerDependencies: + node-fetch: '*' + dependencies: + node-fetch: /@achingbrain/node-fetch/2.6.7 + + /native-fetch/3.0.0_node-fetch@3.2.10: + resolution: {integrity: sha512-G3Z7vx0IFb/FQ4JxvtqGABsOTIqRWvgQz6e+erkB+JJD6LrszQtMozEHI4EkmgZQvnGHrpLVzUWk7t4sJCIkVw==} + peerDependencies: + node-fetch: '*' dependencies: node-fetch: 3.2.10 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 0e66a78d3..5858666e1 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,2 @@ - packages: - 'packages/**/*' From c26cb5762c19f4d8646ad1e5b0b620ee10bb9a77 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Mon, 6 Feb 2023 17:50:04 +0200 Subject: [PATCH 6/8] Fix --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b339bbd2..4575eb4da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -115,7 +115,7 @@ jobs: cache: "pnpm" - run: pnpm i - - run: pnpm run build + - run: pnpm -r build - name: Publish to npm registry run: pnpm --no-git-checks -r publish -filter '@fluencelabs/*' --access public --tags unstable From 9fee795063fd7c7e3e8159134a2e45f892241e98 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Wed, 15 Feb 2023 16:35:47 +0200 Subject: [PATCH 7/8] Update workflows --- .github/release-please/config.json | 12 +- .github/release-please/manifest.json | 10 +- .github/workflows/release.yml | 4 +- .../{tests.yml.disabled => run-tests.yml} | 63 ++++------ .../{snapshot.yml.disabled => snapshot.yml} | 0 .github/workflows/tests.yml | 117 ++++++++++++------ 6 files changed, 118 insertions(+), 88 deletions(-) rename .github/workflows/{tests.yml.disabled => run-tests.yml} (55%) rename .github/workflows/{snapshot.yml.disabled => snapshot.yml} (100%) diff --git a/.github/release-please/config.json b/.github/release-please/config.json index 027e0b3a3..f73e3f4e6 100644 --- a/.github/release-please/config.json +++ b/.github/release-please/config.json @@ -8,11 +8,11 @@ } ], "packages": { - "packages/fluence-js": { - "component": "fluence-js" - }, - "packages/fluence-connection": {}, - "packages/fluence-interfaces": {}, - "packages/fluence-keypair": {} + "packages/client/api": {}, + "packages/js-client.node": {}, + "packages/js-client.web.standalone": {}, + "packages/tools": {}, + "packages/core/interfaces": {}, + "packages/core/js-peer": {} } } diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json index d6e567d63..c7ec08300 100644 --- a/.github/release-please/manifest.json +++ b/.github/release-please/manifest.json @@ -1,6 +1,8 @@ { - "packages/fluence-js": "0.28.0", - "packages/fluence-connection": "0.2.0", - "packages/fluence-interfaces": "0.1.0", - "packages/fluence-keypair": "0.2.0" + "packages/client/api": "0.10.0", + "packages/js-client.node": "0.5.0", + "packages/js-client.web.standalone": "0.12.0", + "packages/tools": "0.1.0", + "packages/core/interfaces": "0.6.0", + "packages/core/js-peer": "0.7.0" } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4575eb4da..73e60079b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,7 +60,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "18" registry-url: "https://registry.npmjs.org" cache: "pnpm" @@ -110,7 +110,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "18" registry-url: "https://registry.npmjs.org" cache: "pnpm" diff --git a/.github/workflows/tests.yml.disabled b/.github/workflows/run-tests.yml similarity index 55% rename from .github/workflows/tests.yml.disabled rename to .github/workflows/run-tests.yml index a10780696..03ed9c412 100644 --- a/.github/workflows/tests.yml.disabled +++ b/.github/workflows/run-tests.yml @@ -1,27 +1,28 @@ -name: Run tests with worflow_call +name: "ci" on: - workflow_call: - inputs: - rust-peer-image: - description: "rust-peer image tag" - type: string - default: "fluencelabs/fluence:minimal" - avm-version: - description: "@fluencelabs/avm version" - type: string - default: "null" - marine-js-version: - description: "@fluencelabs/marine-js version" - type: string - default: "null" - ref: - description: "git ref to checkout to" - type: string - default: "master" + pull_request: + paths-ignore: + - "**.md" + - ".github/**" + - "!.github/workflows/e2e.yml" + - "!.github/workflows/tests.yml" + - "!.github/workflows/snapshot.yml" + push: + branches: + - "master" + paths-ignore: + - "**.md" + - ".github/**" + - "!.github/workflows/e2e.yml" + - "!.github/workflows/tests.yml" + - "!.github/workflows/snapshot.yml" + +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true env: - RUST_PEER_IMAGE: "${{ inputs.rust-peer-image }}" FORCE_COLOR: true CI: true @@ -39,6 +40,7 @@ jobs: node-version: - 16.x - 17.x + - 18.x steps: - name: Import secrets @@ -63,9 +65,6 @@ jobs: - name: Checkout uses: actions/checkout@v3 - with: - repository: fluencelabs/fluence-js - ref: ${{ inputs.ref }} - name: Pull rust-peer image run: docker pull $RUST_PEER_IMAGE @@ -90,23 +89,5 @@ jobs: - run: pnpm i - - name: Set avm version - if: inputs.avm-version != 'null' - uses: fluencelabs/github-actions/npm-set-dependency@main - with: - package: "@fluencelabs/avm" - version: ${{ inputs.avm-version }} - working-directory: packages/fluence-js - package-manager: pnpm - - - name: Set marine-js version - if: inputs.marine-js-version != 'null' - uses: fluencelabs/github-actions/npm-set-dependency@main - with: - package: "@fluencelabs/marine-js" - version: ${{ inputs.marine-js-version }} - working-directory: packages/fluence-js - package-manager: pnpm - - run: pnpm -r build - run: pnpm -r test diff --git a/.github/workflows/snapshot.yml.disabled b/.github/workflows/snapshot.yml similarity index 100% rename from .github/workflows/snapshot.yml.disabled rename to .github/workflows/snapshot.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0963d3dd9..a10780696 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,8 +1,4 @@ -name: Run tests - -defaults: - run: - working-directory: . +name: Run tests with worflow_call on: workflow_call: @@ -22,7 +18,7 @@ on: ref: description: "git ref to checkout to" type: string - default: "v0.28.0" + default: "master" env: RUST_PEER_IMAGE: "${{ inputs.rust-peer-image }}" @@ -34,32 +30,83 @@ jobs: name: "Run tests" runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x, 17.x, 18.x] - - steps: - - uses: actions/checkout@v2 - - - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - - name: Setup pnpm - uses: pnpm/action-setup@v2.2.4 - with: - version: 7 - - - name: Run container with Fluence node - run: | - docker pull fluencelabs/fluence - docker run -d --rm -e RUST_LOG="info" -p 1210:1210 -p 4310:4310 fluencelabs/fluence -t 1210 -w 4310 -k gKdiCSUr1TFGFEgu2t8Ch1XEUsrN5A2UfBLjSZvfci9SPR3NvZpACfcpPGC3eY4zma1pk7UvYv5zb1VjvPHwCjj --local --aqua-pool-size 2 - - - run: pnpm i - - run: pnpm -r build - env: - CI: true - - run: pnpm -r test - env: - CI: true + permissions: + contents: read + id-token: write + + strategy: + matrix: + node-version: + - 16.x + - 17.x + + steps: + - name: Import secrets + uses: hashicorp/vault-action@v2.4.3 + with: + url: https://vault.fluence.dev + path: jwt/github + role: ci + method: jwt + jwtGithubAudience: "https://github.com/fluencelabs" + jwtTtl: 300 + secrets: | + kv/docker-registry/basicauth/ci username | DOCKER_USERNAME ; + kv/docker-registry/basicauth/ci password | DOCKER_PASSWORD + + - name: Login to DockerHub + uses: docker/login-action@v2 + with: + registry: docker.fluence.dev + username: ${{ env.DOCKER_USERNAME }} + password: ${{ env.DOCKER_PASSWORD }} + + - name: Checkout + uses: actions/checkout@v3 + with: + repository: fluencelabs/fluence-js + ref: ${{ inputs.ref }} + + - name: Pull rust-peer image + run: docker pull $RUST_PEER_IMAGE + + - name: Run rust-peer + uses: isbang/compose-action@v1.4.1 + with: + compose-file: ".github/e2e/docker-compose.yml" + down-flags: "--volumes" + + - name: Setup pnpm + uses: pnpm/action-setup@v2.2.4 + with: + version: 7 + + - name: Setup node ${{ matrix.node-version }} with self-hosted registry + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + registry-url: "https://npm.fluence.dev" + cache: "pnpm" + + - run: pnpm i + + - name: Set avm version + if: inputs.avm-version != 'null' + uses: fluencelabs/github-actions/npm-set-dependency@main + with: + package: "@fluencelabs/avm" + version: ${{ inputs.avm-version }} + working-directory: packages/fluence-js + package-manager: pnpm + + - name: Set marine-js version + if: inputs.marine-js-version != 'null' + uses: fluencelabs/github-actions/npm-set-dependency@main + with: + package: "@fluencelabs/marine-js" + version: ${{ inputs.marine-js-version }} + working-directory: packages/fluence-js + package-manager: pnpm + + - run: pnpm -r build + - run: pnpm -r test From 2628bcd84acfbf01b61449c226099cbb61ce83d7 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Wed, 15 Feb 2023 16:37:24 +0200 Subject: [PATCH 8/8] Fix --- .github/workflows/run-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 03ed9c412..3d9d590e3 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -23,6 +23,7 @@ concurrency: cancel-in-progress: true env: + RUST_PEER_IMAGE: "fluencelabs/fluence:minimal" FORCE_COLOR: true CI: true