Skip to content

fix esm

fix esm #21

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: |
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
ls -la
cd ./typink-app-default
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