Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
NODE_OPTIONS: "--max-old-space-size=7168"
FORCE_COLOR: 3
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
runs-on: [ledger-live-4xlarge]
runs-on: [ ledger-live-linux-8CPU-32RAM ]
steps:
- name: generate token
id: generate-token
Expand Down Expand Up @@ -69,6 +69,7 @@ jobs:
id: caches
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
with:
install-proto: "true"
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-desktop-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
LC_ALL: en_US.UTF-8
# DEBUG: "pw:browser*"
# DEBUG_LOGS: 1
runs-on: [ledger-live-4xlarge]
runs-on: [ ledger-live-linux-8CPU-32RAM ]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -135,6 +135,7 @@ jobs:
id: caches
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
with:
install-proto: "true"
skip-turbo-cache: "false"
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
Expand Down
46 changes: 37 additions & 9 deletions .github/workflows/test-libs-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ jobs:

runs-on: [ledger-live-4xlarge]
steps:

- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.sha }}

- name: Setup the caches
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: setup-caches
Expand All @@ -48,53 +50,79 @@ jobs:
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
turbo-server-token: ${{ secrets.TURBOREPO_SERVER_TOKEN }}

- name: Install dependencies
run: pnpm i --filter="!./apps/**"
- name: Build and Test affected libraries
id: test-libs
run: pnpm i --filter="./libs/**"

- name: Run coverage on appropriate libraries
run: |

mkdir -p ${{ github.workspace }}/coverage
pnpm build:libs
touch ${{ github.workspace }}/coverage/lcov.info
touch ${{ github.workspace }}/coverage/sonar-executionTests-report.xml

pnpm turbo run coverage --api="http://127.0.0.1:${{ steps.setup-caches.outputs.port }}" --token="${{ secrets.TURBOREPO_SERVER_TOKEN }}" --team="foo" --filter="./libs/**" --concurrency=1 -- --runInBand=1

- name: Test libraries without coverage script & Process coverage files
id: test-libs
run: |

echo "::group::Processing coverage files"

testCommand=(pnpm turbo test --concurrency=25%)

for package_json in $(find ./libs -name "package.json"); do
lib=$(dirname "$package_json")
echo "Processing library at path: $lib"
if [ -f "$package_json" ] && jq -e '.scripts.coverage' "$package_json"; then
echo "Running coverage script for $lib"
pnpm --prefix "$lib" run coverage
if [ -f "$lib/coverage/lcov.info" ] && [ -f "$lib/coverage/sonar-executionTests-report.xml" ]; then
echo "Appending coverage files for $lib"
cat "$lib/coverage/lcov.info" >> ${{ github.workspace }}/coverage/lcov.info
cat "$lib/coverage/sonar-executionTests-report.xml" >> ${{ github.workspace }}/coverage/sonar-executionTests-report.xml
fi
elif [ -f "$package_json" ] && jq -e '.scripts.test' "$package_json"; then
echo "Coverage script not defined for $lib, running test script."
pnpm --prefix "$lib" run test
elif [ -f "$package_json" ] && ! jq -e '.scripts.coverage' "$package_json" && jq -e '.scripts.test' "$package_json"; then
echo "Coverage script not defined for $lib, adding to testflow."

name=$(jq -r '.name' "$package_json")
testCommand+=(--filter "$name")

else
echo "No coverage or test script found for $lib, skipping."
fi

done

testCommand+=(--api="http://127.0.0.1:${{ steps.setup-caches.outputs.port }}")
testCommand+=(--token="${{ secrets.TURBOREPO_SERVER_TOKEN }}")
testCommand+=(--team="foo")

echo "::endgroup::"
echo "Running tests for libs without coverage with command: ${testCommand[@]}"
"${testCommand[@]}"
shell: bash

- name: (On Failure) Upload live-common snapshots and source
uses: actions/upload-artifact@v4
if: failure()
with:
name: live-common-src
path: |
libs/ledger-live-common/src

- uses: actions/github-script@v7
if: ${{ !cancelled() }}
with:
script: |
const fs = require("fs");
fs.writeFileSync("summary-tests.txt", "${{ steps.test-libs.outcome }}", "utf-8");

- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
id: generate_coverage
with:
name: coverage-libs
path: ${{ github.workspace }}/coverage

- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
Expand Down
14 changes: 14 additions & 0 deletions apps/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @ledgerhq/live-cli

## 24.21.4

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]

## 24.21.4-hotfix.0

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]

## 24.21.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ledgerhq/live-cli",
"version": "24.21.3",
"version": "24.21.4",
"description": "ledger-live CLI version",
"repository": {
"type": "git",
Expand Down
20 changes: 20 additions & 0 deletions apps/ledger-live-desktop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# ledger-live-desktop

## 2.126.2

### Patch Changes

- [#11576](https://github.com/LedgerHQ/ledger-live/pull/11576) [`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c) Thanks [@live-github-bot](https://github.com/apps/live-github-bot)! - Fix issue with eth clear signing from DMK

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]
- @ledgerhq/[email protected]

## 2.126.2-hotfix.0

### Patch Changes

- [#11576](https://github.com/LedgerHQ/ledger-live/pull/11576) [`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c) Thanks [@live-github-bot](https://github.com/apps/live-github-bot)! - Fix issue with eth clear signing from DMK

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]
- @ledgerhq/[email protected]

## 2.126.1

### Patch Changes
Expand Down
4 changes: 4 additions & 0 deletions apps/ledger-live-desktop/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.126.2

We fixed an issue that prevented Nano S users to send or swap USDT/stETH ERC-20 tokens

# 2.126.1

We fixed an issue that prevented Nano S users to send or swap USDT/stETH ERC-20 tokens
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"license": "MIT",
"private": true,
"main": "./.webpack/main.bundle.js",
"version": "2.126.1",
"version": "2.126.2",
"scripts": {
"start:prod": "electron ./.webpack/main.bundle.js",
"start": "cross-env NODE_ENV=development node ./tools/main.js",
Expand Down
3 changes: 2 additions & 1 deletion apps/ledger-live-desktop/tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ const config: PlaywrightTestConfig = {
use: {
ignoreHTTPSErrors: true,
screenshot: process.env.CI ? "only-on-failure" : "off",
video: "off",
},
forbidOnly: !!process.env.CI,
preserveOutput: process.env.CI ? "failures-only" : "always",
maxFailures: process.env.CI ? 5 : undefined,
reportSlowTests: process.env.CI ? { max: 0, threshold: 60000 } : null,
fullyParallel: true,
workers: "50%", // NOTE: 'macos-latest' and 'windows-latest' can't run 3 concurrent workers
workers: "40%", // NOTE: 'macos-latest' and 'windows-latest' can't run 3 concurrent workers
retries: 0, // We explicitly want to disable retries to be strict about avoiding flaky tests. (see https://github.com/LedgerHQ/ledger-live/pull/4918)
reporter: process.env.CI
? [
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions apps/ledger-live-mobile/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# live-mobile

## 3.91.2

### Patch Changes

- [#11576](https://github.com/LedgerHQ/ledger-live/pull/11576) [`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c) Thanks [@live-github-bot](https://github.com/apps/live-github-bot)! - Fix issue with eth clear signing from DMK

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]

## 3.91.2-hotfix.0

### Patch Changes

- [#11576](https://github.com/LedgerHQ/ledger-live/pull/11576) [`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c) Thanks [@live-github-bot](https://github.com/apps/live-github-bot)! - Fix issue with eth clear signing from DMK

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]

## 3.91.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/ledger-live-mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "live-mobile",
"version": "3.91.1",
"version": "3.91.2",
"private": true,
"scripts": {
"postinstall": "zx ./scripts/post.mjs",
Expand Down Expand Up @@ -87,7 +87,7 @@
"@ledgerhq/coin-framework": "workspace:^",
"@ledgerhq/coin-multiversx": "workspace:^",
"@ledgerhq/coin-stacks": "workspace:^",
"@ledgerhq/device-management-kit": "0.0.0-lns-fix-20250829181539",
"@ledgerhq/device-management-kit": "0.0.0-fix-lns-20250901094837",
"@ledgerhq/devices": "workspace:*",
"@ledgerhq/domain-service": "workspace:^",
"@ledgerhq/errors": "workspace:^",
Expand Down
14 changes: 14 additions & 0 deletions apps/web-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# web-tools

## 0.21.3

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]

## 0.21.3-hotfix.0

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]

## 0.21.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/web-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ledgerhq/web-tools",
"version": "0.21.2",
"version": "0.21.3",
"private": true,
"browser": {
"fs": false,
Expand Down
16 changes: 16 additions & 0 deletions e2e/desktop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# ledger-live-desktop-e2e-tests

## 0.6.3

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]
- @ledgerhq/[email protected]

## 0.6.3-hotfix.0

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]
- @ledgerhq/[email protected]

## 0.6.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion e2e/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ledger-live-desktop-e2e-tests",
"version": "0.6.2",
"version": "0.6.3",
"private": true,
"scripts": {
"test:playwright": "playwright test --config=playwright.config.ts",
Expand Down
14 changes: 14 additions & 0 deletions libs/coin-modules-monitoring/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @ledgerhq/coin-modules-monitoring

## 2.1.3

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]

## 2.1.3-hotfix.0

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]

## 2.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion libs/coin-modules-monitoring/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ledgerhq/coin-modules-monitoring",
"version": "2.1.2",
"version": "2.1.3",
"description": "Push monitoring metrics to Datadog",
"license": "Apache-2.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion libs/coin-modules/coin-celo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"scripts": {
"clean": "rimraf lib lib-es",
"build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es",
"coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-celo.json",
"coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests",
"prewatch": "pnpm build",
"watch": "tsc --watch",
"watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es",
Expand Down
2 changes: 1 addition & 1 deletion libs/coin-modules/coin-mina/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"scripts": {
"clean": "rimraf lib lib-es",
"build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es",
"coverage": "jest --coverage --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-boilerplate.json",
"coverage": "jest --coverage --passWithNoTests",
"prewatch": "pnpm build",
"watch": "tsc --watch",
"doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts",
Expand Down
2 changes: 1 addition & 1 deletion libs/coin-modules/coin-sui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"scripts": {
"clean": "rimraf lib lib-es",
"build": "tsc --outDir lib --module commonjs --moduleResolution node10 && tsc -m ES6 --outDir lib-es",
"coverage": "jest --coverage --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-sui.json",
"coverage": "jest --coverage --passWithNoTests",
"prewatch": "pnpm build",
"watch": "tsc --watch",
"watch:es": "tsc --watch -m ES6 --outDir lib-es",
Expand Down
16 changes: 16 additions & 0 deletions libs/coin-tester-modules/coin-tester-evm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @ledgerhq/coin-tester-evm

## 1.5.3

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]
- @ledgerhq/[email protected]

## 1.5.3-hotfix.0

### Patch Changes

- Updated dependencies [[`458f80d`](https://github.com/LedgerHQ/ledger-live/commit/458f80d2d8cf202bde2feb35239a35299e48fa7c)]:
- @ledgerhq/[email protected]
- @ledgerhq/[email protected]

## 1.5.2

### Patch Changes
Expand Down
Loading
Loading