Files
trezor-suite/.github/workflows/test-trezor-user-env-link-e2e.yml
2026-02-11 18:04:02 +01:00

44 lines
1.2 KiB
YAML

name: "[Test] trezor-user-env-link e2e"
on:
schedule:
# Runs at midnight UTC every day at 01:00 AM CET
- cron: "0 0 * * *"
pull_request:
branches:
- develop
paths:
- ".github/workflows/test-trezor-user-env-link-e2e.yml"
- "packages/trezor-user-env/**"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
e2e-test-trezor-user-env-link:
if: github.repository == 'trezor/trezor-suite'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{github.event.after}}
fetch-depth: 2
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: yarn
- name: Install dependencies
run: |
echo -e "\nenableScripts: false" >> .yarnrc.yml
echo -e "\nenableHardenedMode: false" >> .yarnrc.yml
yarn workspaces focus @trezor/trezor-user-env-link
- name: Run e2e tests
run: |
docker run -d --network=host ghcr.io/trezor/trezor-user-env:e9411ccc936756438d4c60a1ab4d035a4648e6a2
yarn workspace @trezor/trezor-user-env-link test:e2e