Skip to content

Commit

Permalink
Github Action first run expect to be failed
Browse files Browse the repository at this point in the history
  • Loading branch information
1cedrus committed Jan 26, 2025
1 parent 8580ddb commit b95b206
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/create-typink-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Create Typink Tests

on:
push:
workflow_dispatch:
merge_group:

jobs:
create-typink-tests:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install --immutable
- run: yarn build
- name: Create app with create-typink (Default)
run: |
ls -la
cd ..
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
ls -la
cd ./typink-app-example
ls -la
- name: Try to build (Default)
run: |
cd ../typink-app-example
yarn install --immutable
yarn build
3 changes: 1 addition & 2 deletions packages/create-typink/templates/default/ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Box, Flex } from '@chakra-ui/react';
import BalanceInsufficientAlert from '@/components/shared/BalanceInsufficientAlert.tsx';
import MainFooter from '@/components/shared/MainFooter';
import MainHeader from '@/components/shared/MainHeader';
import MainBoard from '@/components/MainBoard.tsx';
import MainBoards from '@/components/MainBoard.tsx';

function App() {
return (
Expand All @@ -21,4 +21,3 @@ function App() {
}

export default App;

0 comments on commit b95b206

Please sign in to comment.