Skip to content

fix(bridge-ui): incorrectly detecting bridged tokens #1211

fix(bridge-ui): incorrectly detecting bridged tokens

fix(bridge-ui): incorrectly detecting bridged tokens #1211

Workflow file for this run

name: Bridge UI
on:
push:
branches: [main]
paths:
- "packages/bridge-ui/**"
pull_request:
paths:
- "packages/bridge-ui/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm dependencies
uses: ./.github/actions/install-pnpm-dependencies
# This step is needed because the .env file is not committed to the repository
# and the Svelte check complains about not finding the exports from $env/static/public,
# which will be generated based on the .env file when running `svelte-kit sync`
- name: Copy .env.example to .env
working-directory: ./packages/bridge-ui
run: cp .env.example .env
- name: Export config to .env
working-directory: ./packages/bridge-ui
run: pnpm export:config
- name: Build Svelte app
env:
SKIP_ENV_VALDIATION: "true"
working-directory: ./packages/bridge-ui
run: pnpm build
- name: Svelte check
working-directory: ./packages/bridge-ui
run: pnpm svelte:check
- name: Linting
working-directory: ./packages/bridge-ui
run: pnpm lint
- name: Unit tests
env:
SKIP_ENV_VALDIATION: "true"
working-directory: ./packages/bridge-ui
run: pnpm test:unit
# TODO: Playwright tests?