ci: Add registry to e2e (#193)

* Add registry tests

* Fix
This commit is contained in:
Anatolios Laskaris 2022-10-10 21:03:03 +03:00 committed by GitHub
parent 339be8ff28
commit b160fb7edc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 6 deletions

View File

@ -24,7 +24,7 @@ jobs:
uses: fluencelabs/aqua/.github/workflows/snapshot.yml@main
with:
fluence-js-version: ${{ needs.snapshot.outputs.fluence-js-version }}
fluence-js-version: "=${{ needs.snapshot.outputs.fluence-js-version }}"
aqua-playground:
needs:
@ -33,5 +33,13 @@ jobs:
uses: fluencelabs/aqua-playground/.github/workflows/tests.yml@master
with:
fluence-js-version: ${{ needs.snapshot.outputs.fluence-js-version }}
aqua-version: ${{ needs.aqua-snapshot.outputs.aqua-version }}
fluence-js-version: "=${{ needs.snapshot.outputs.fluence-js-version }}"
aqua-version: "=${{ needs.aqua-snapshot.outputs.aqua-version }}"
registry:
needs:
- aqua-snapshot
uses: fluencelabs/registry/.github/workflows/tests.yml@main
with:
aqua-version: "=${{ needs.aqua-snapshot.outputs.aqua-version }}"

View File

@ -50,7 +50,7 @@ jobs:
- name: Set avm version from branch
if: inputs.avm-version != ''
working-directory: packages/fluence-js
run: pnpm add --save @fluencelabs/avm@${{ inputs.avm-version }}
run: pnpm add --save -E @fluencelabs/avm@${{ inputs.avm-version }}
- run: pnpm -r build
@ -109,5 +109,5 @@ jobs:
To install it run:
```shell
npm login --registry https://npm.fluence.dev
npm i @fluencelabs/fluence@=${{ env.FLUENCE_JS_VERSION }} --registry=https://npm.fluence.dev
npm i -E @fluencelabs/fluence@${{ env.FLUENCE_JS_VERSION }} --registry=https://npm.fluence.dev
```

View File

@ -88,7 +88,7 @@ jobs:
- name: Set avm version from branch
if: inputs.avm-version != ''
working-directory: packages/fluence-js
run: pnpm add --save @fluencelabs/avm@${{ inputs.avm-version }}
run: pnpm add --save -E @fluencelabs/avm@${{ inputs.avm-version }}
- run: pnpm -r build
- run: pnpm -r test