Skip to content

Updating jsx to tsx for webpack build #38

Updating jsx to tsx for webpack build

Updating jsx to tsx for webpack build #38

name: 'UI Binance Testnet end-2-end test'
on:
push:
paths:
- 'gateway-ui/**'
jobs:
interaction-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./gateway-ui
steps:
- name: Checkout repo
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '20.x'
- name: Install typechain
run: npm install -g @typechain/ethers-v5 && npm install -g typechain
- name: Install dependencies
run: yarn install
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build Storybook
run: yarn build-storybook --quiet
- name: Start storybook in background
run: yarn storybook-quiet &
- name: Serve Storybook and run tests
run: npx wait-on tcp:6006 && yarn cypress:run