mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-06 15:29:44 +01:00
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: "[Test] blockchain-link e2e"
|
|
|
|
on:
|
|
schedule:
|
|
# Runs at midnight UTC every day at 01:00 AM CET
|
|
- cron: "0 0 * * *"
|
|
pull_request:
|
|
paths:
|
|
- "packages/blockchain-link/**"
|
|
- "packages/blockchain-link-utils/**"
|
|
- "packages/blockchain-link-types/**"
|
|
- "packages/e2e-utils/src/fixtures/blockbook.ts"
|
|
- "packages/e2e-utils/src/mocks/backendServer.ts"
|
|
# dependencies of packages/blockchain-link
|
|
- "packages/utxo-lib/**"
|
|
- "docker/docker-blockchain-link-test.sh"
|
|
- ".github/workflows/blockchain-link-test.yml"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
if: github.repository == 'trezor/trezor-suite'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
- name: Setup node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
|
|
- name: Install dependencies
|
|
run: yarn --immutable
|
|
|
|
- name: Build dependencies
|
|
run: yarn build:libs
|
|
|
|
- name: Build @trezor/blockchain-link workers
|
|
run: |
|
|
yarn workspace @trezor/blockchain-link build:workers
|
|
|
|
- name: Run E2E tests
|
|
run: ./docker/docker-blockchain-link-test.sh
|