From cb07d1de140d20329df977b2f9065be1b395a7e1 Mon Sep 17 00:00:00 2001 From: 1cedrus Date: Mon, 27 Jan 2025 00:27:38 +0700 Subject: [PATCH] =?UTF-8?q?Refactoring=20=F0=9F=94=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/create-typink-tests.yml | 36 ++++------------------- 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/.github/workflows/create-typink-tests.yml b/.github/workflows/create-typink-tests.yml index 8c611429..c8529a66 100644 --- a/.github/workflows/create-typink-tests.yml +++ b/.github/workflows/create-typink-tests.yml @@ -12,6 +12,7 @@ jobs: strategy: matrix: node-version: [20.x] + wallet: ['Default', 'SubConnect V2', 'Talisman Connect'] steps: - uses: actions/checkout@v3 @@ -22,39 +23,14 @@ jobs: cache: 'yarn' - run: yarn install --immutable - run: yarn build - - name: Create app with create-typink (Default) + - name: Create and build app with create-typink (${{ matrix.wallet }}) run: | export YARN_ENABLE_IMMUTABLE_INSTALLS=false cd .. - node ./typink/packages/create-typink/dist/bin/create-typink.mjs --no-git -n typink-app-default -t default -p greeter -N "Pop Testnet" -N "Aleph Zero Testnet" -w Default + node ./typink/packages/create-typink/dist/bin/create-typink.mjs \ + --no-git -n typink-app-${{ matrix.wallet }} -t default -p greeter \ + -N "Pop Testnet" -N "Aleph Zero Testnet" -w "${{ matrix.wallet }}" ls -la - cd ./typink-app-default + cd ./typink-app-${{ matrix.wallet }} ls -la - - name: Try to build (Default) - run: | - cd ../typink-app-default - yarn build - - name: Create app with create-typink (SubConnect V2) - run: | - export YARN_ENABLE_IMMUTABLE_INSTALLS=false - cd .. - node ./typink/packages/create-typink/dist/bin/create-typink.mjs --no-git -n typink-app-subconnect-v2 -t default -p greeter -N "Pop Testnet" -N "Aleph Zero Testnet" -w "SubConnect V2" - ls -la - cd ./typink-app-subconnect-v2 - ls -la - - name: Try to build (SubConnect V2) - run: | - cd ../typink-app-subconnect-v2 - yarn build - - name: Create app with create-typink (Talisman Connect) - run: | - export YARN_ENABLE_IMMUTABLE_INSTALLS=false - cd .. - node ./typink/packages/create-typink/dist/bin/create-typink.mjs --no-git -n typink-app-talisman-connect -t default -p greeter -N "Pop Testnet" -N "Aleph Zero Testnet" -w "Talisman Connect" - ls -la - cd ./typink-app-talisman-connect - ls -la - - name: Try to build (Talisman Connect) - run: | - cd ../typink-app-talisman-connect yarn build