mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-03 05:55:03 +01:00
89 lines
2.2 KiB
YAML
89 lines
2.2 KiB
YAML
name: "[Test] connect misc"
|
|
|
|
on:
|
|
schedule:
|
|
# Runs at midnight UTC every day at 01:00 AM CET
|
|
- cron: "0 0 * * *"
|
|
push:
|
|
branches: [release/connect/**]
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/test-connect-misc.yml"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
install-connect:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'trezor/trezor-suite'
|
|
timeout-minutes: 60
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Setup node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
|
|
- name: Test npm install (beta)
|
|
run: ./packages/connect/e2e/test-npm-install.sh beta
|
|
|
|
- name: Test npm install (latest)
|
|
run: ./packages/connect/e2e/test-npm-install.sh latest
|
|
if: always()
|
|
|
|
- name: Test yarn install (beta)
|
|
run: ./packages/connect/e2e/test-yarn-install.sh beta
|
|
if: always()
|
|
|
|
- name: Test yarn install (latest)
|
|
run: ./packages/connect/e2e/test-yarn-install.sh latest
|
|
if: always()
|
|
|
|
install-connect-local:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'trezor/trezor-suite'
|
|
timeout-minutes: 60
|
|
steps:
|
|
- name: Checkout
|
|
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 install
|
|
|
|
- name: Pack packages
|
|
run: yarn tsx ./scripts/ci/pack-packages.ts
|
|
|
|
- name: Test local install
|
|
run: ./packages/connect/e2e/test-connect-local.sh
|
|
|
|
test-protobuf:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'trezor/trezor-suite'
|
|
timeout-minutes: 60
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
|
|
- run: yarn install --immutable
|
|
- run: yarn workspace @trezor/protobuf update:protobuf
|
|
- run: yarn workspace @trezor/protobuf update:schema
|