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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 9 additions & 9 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ yarn.lock @input-output-hk/lace-core

# Packages Teams

/packages/bitcoin/ @input-output-hk/lace-core
/packages/cardano/ @input-output-hk/lace-core
/packages/common/ @input-output-hk/lace-core
/packages/core/ @input-output-hk/lace-core
/packages/e2e-tests/ @input-output-hk/xsy-lace-test-engineers
/packages/nami/ @input-output-hk/lace-core
/packages/staking/ @input-output-hk/lace-core
/packages/translation/ @input-output-hk/lace-core
/v1/packages/bitcoin/ @input-output-hk/lace-core
/v1/packages/cardano/ @input-output-hk/lace-core
/v1/packages/common/ @input-output-hk/lace-core
/v1/packages/core/ @input-output-hk/lace-core
/v1/packages/e2e-tests/ @input-output-hk/xsy-lace-test-engineers
/v1/packages/nami/ @input-output-hk/lace-core
/v1/packages/staking/ @input-output-hk/lace-core
/v1/packages/translation/ @input-output-hk/lace-core

# Apps
/apps/ @input-output-hk/lace-core
/v1/apps/ @input-output-hk/lace-core
16 changes: 12 additions & 4 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ runs:
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- name: Enable Corepack
shell: bash
run: corepack enable

- name: Configure Yarn to use GitHub Packages
run: |
Expand Down Expand Up @@ -46,14 +49,19 @@ runs:
path: |
node_modules
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('yarn.lock', 'v1/yarn.lock') }}

- name: Install root dependencies
run: yarn install --immutable --inline-builds
shell: bash

- name: Install dependencies
- name: Install v1 dependencies
run: yarn install --immutable --inline-builds
working-directory: ./v1
shell: bash

- name: Decrypt test data
working-directory: ./packages/e2e-tests
working-directory: ./v1/packages/e2e-tests
run: ./decrypt_secret.sh
shell: bash
env:
Expand Down
14 changes: 7 additions & 7 deletions .github/actions/test/e2e/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ runs:
if: success()
shell: bash
id: e2e-tests
working-directory: ./packages/e2e-tests
working-directory: ./v1/packages/e2e-tests
env:
WALLET_1_PASSWORD: ${{ inputs.WALLET_PASSWORD }}
TEST_DAPP_URL: ${{ inputs.TEST_DAPP_URL }}
Expand All @@ -76,7 +76,7 @@ runs:
- name: Save dmesg logs
shell: bash
if: always()
working-directory: ./packages/e2e-tests
working-directory: ./v1/packages/e2e-tests
run: |
sudo dmesg > ./dmesg.log

Expand All @@ -88,9 +88,9 @@ runs:
with:
name: runner-artifacts-${{ env.BATCH }}
path: |
./packages/e2e-tests/screenshots
./packages/e2e-tests/logs
./packages/e2e-tests/reports/allure/results
./packages/e2e-tests/dmesg.log
./packages/e2e-tests/metrics
./v1/packages/e2e-tests/screenshots
./v1/packages/e2e-tests/logs
./v1/packages/e2e-tests/reports/allure/results
./v1/packages/e2e-tests/dmesg.log
./v1/packages/e2e-tests/metrics
retention-days: 5
1 change: 1 addition & 0 deletions .github/actions/test/unit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ runs:
- name: Unit tests
run: yarn test
shell: bash
working-directory: v1
env:
AVAILABLE_CHAINS: 'Preprod,Preview,Mainnet'
DEFAULT_CHAIN: 'Preprod'
Expand Down
6 changes: 3 additions & 3 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

# Browser extension
browser:
- any: ['apps/browser-extension-wallet/**/*']
- any: ['v1/apps/browser-extension-wallet/**/*']
# Staking
staking:
- any: ['packages/staking/**/*']
- any: ['v1/packages/staking/**/*']
- any: ['.github/workflows/packages-staking.yml']

# E2E
e2e:
- any: ['packages/e2e-tests/**/*']
- any: ['v1/packages/e2e-tests/**/*']
# Docs
documentation:
- any: ['docs/**/*', '**/*.md']
Expand Down
13 changes: 11 additions & 2 deletions .github/shared/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,18 @@ runs:
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- name: Node modules cache
uses: actions/cache@v4
with:
path: |
node_modules
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('yarn.lock', 'v1/yarn.lock') }}

- name: Enable Corepack
shell: bash
run: corepack enable

- name: Configure Yarn to use GitHub Packages
run: |
Expand Down Expand Up @@ -160,8 +163,14 @@ runs:
shell: bash
run: yarn install --immutable --inline-builds

- name: Install v1 dependencies
shell: bash
working-directory: ./v1
run: yarn install --immutable --inline-builds

- name: Build dist version
shell: bash
working-directory: ./v1
env:
NODE_OPTIONS: '--max_old_space_size=8192'
BUILD_DEV_PREVIEW: ${{ inputs.BUILD_DEV_PREVIEW }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-dev-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
PRODUCTION_MODE_TRACKING: 'false'
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
PUBNUB_SUBSCRIBE_KEY: ${{ secrets.PUBNUB_SUBSCRIBE_KEY }}
MAESTRO_PROJECT_ID_MAINNET: ''
MAESTRO_PROJECT_ID_TESTNET: ''
- name: Check for linter issues
run: yarn lint
- name: Execute unit tests
Expand All @@ -41,4 +43,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Lace (Developer Preview)
path: apps/browser-extension-wallet/dist
path: v1/apps/browser-extension-wallet/dist
Loading
Loading