-
-
Notifications
You must be signed in to change notification settings - Fork 282
40 lines (36 loc) · 1.16 KB
/
test-trezor-user-env-link-e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "[Test] trezor-user-env-link e2e"
on:
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:ee7f945dc2cc47e0a5776f3f86dfe5b70455a725
yarn workspace @trezor/trezor-user-env-link test:e2e