Skip to content

Commit 72dd78b

Browse files
committed
Github Action first run expect to be failed
1 parent 8580ddb commit 72dd78b

File tree

4 files changed

+40
-4907
lines changed

4 files changed

+40
-4907
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Create Typink Tests
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
merge_group:
7+
8+
jobs:
9+
create-typink-tests:
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [20.x]
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
cache: 'yarn'
23+
- run: yarn install --immutable
24+
- run: yarn build
25+
- name: Create app with create-typink (Default)
26+
run: |
27+
ls -la
28+
cd ..
29+
node ./typink/packages/create-typink/dist/bin/create-typink.mjs --no-git -n typink-app-example -t default -p greeter -N "Pop Testnet" -N "Aleph Zero Testnet" -w Default
30+
ls -la
31+
cd ./typink-app-example
32+
ls -la
33+
- name: Try to build (Default)
34+
run: |
35+
cd ../typink-app-example
36+
yarn install
37+
yarn build

packages/create-typink/templates/default/ui/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"@chakra-ui/react": "^2.10.4",
1414
"@emotion/react": "^11.14.0",
1515
"@emotion/styled": "^11.14.0",
16+
"@polkadot": "^10.13.1",
17+
"@polkadot/extension-inject": "^0.46.9",
1618
"@subwallet-connect/polkadot-js": "^1.0.8",
1719
"@subwallet-connect/react": "^1.0.8",
1820
"@subwallet-connect/subwallet-polkadot": "^1.0.8",

packages/create-typink/templates/default/ui/src/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Box, Flex } from '@chakra-ui/react';
22
import BalanceInsufficientAlert from '@/components/shared/BalanceInsufficientAlert.tsx';
33
import MainFooter from '@/components/shared/MainFooter';
44
import MainHeader from '@/components/shared/MainHeader';
5-
import MainBoard from '@/components/MainBoard.tsx';
5+
import MainBoards from '@/components/MainBoard.tsx';
66

77
function App() {
88
return (
@@ -21,4 +21,3 @@ function App() {
2121
}
2222

2323
export default App;
24-

0 commit comments

Comments
 (0)