Skip to content

Commit cdde2c9

Browse files
committed
Merge remote-tracking branch 'origin/feature/create-typink' into feature/create-typink
2 parents 4de639f + cb07d1d commit cdde2c9

File tree

1 file changed

+6
-30
lines changed

1 file changed

+6
-30
lines changed

.github/workflows/create-typink-tests.yml

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
node-version: [20.x]
15+
wallet: ['Default', 'SubConnect V2', 'Talisman Connect']
1516

1617
steps:
1718
- uses: actions/checkout@v3
@@ -22,39 +23,14 @@ jobs:
2223
cache: 'yarn'
2324
- run: yarn install --immutable
2425
- run: yarn build
25-
- name: Create app with create-typink (Default)
26+
- name: Create and build app with create-typink (${{ matrix.wallet }})
2627
run: |
2728
export YARN_ENABLE_IMMUTABLE_INSTALLS=false
2829
cd ..
29-
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
30+
node ./typink/packages/create-typink/dist/bin/create-typink.mjs \
31+
--no-git -n typink-app-${{ matrix.wallet }} -t default -p greeter \
32+
-N "Pop Testnet" -N "Aleph Zero Testnet" -w "${{ matrix.wallet }}"
3033
ls -la
31-
cd ./typink-app-default
34+
cd ./typink-app-${{ matrix.wallet }}
3235
ls -la
33-
- name: Try to build (Default)
34-
run: |
35-
cd ../typink-app-default
36-
yarn build
37-
- name: Create app with create-typink (SubConnect V2)
38-
run: |
39-
export YARN_ENABLE_IMMUTABLE_INSTALLS=false
40-
cd ..
41-
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"
42-
ls -la
43-
cd ./typink-app-subconnect-v2
44-
ls -la
45-
- name: Try to build (SubConnect V2)
46-
run: |
47-
cd ../typink-app-subconnect-v2
48-
yarn build
49-
- name: Create app with create-typink (Talisman Connect)
50-
run: |
51-
export YARN_ENABLE_IMMUTABLE_INSTALLS=false
52-
cd ..
53-
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"
54-
ls -la
55-
cd ./typink-app-talisman-connect
56-
ls -la
57-
- name: Try to build (Talisman Connect)
58-
run: |
59-
cd ../typink-app-talisman-connect
6036
yarn build

0 commit comments

Comments
 (0)