Skip to content

Commit 35907c5

Browse files
committed
ci: update ci to match new structure
1 parent 4b5ca00 commit 35907c5

File tree

13 files changed

+84
-69
lines changed

13 files changed

+84
-69
lines changed

.DS_Store

-10 KB
Binary file not shown.

.github/CODEOWNERS

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ yarn.lock @input-output-hk/lace-core
44

55
# Packages Teams
66

7-
/packages/bitcoin/ @input-output-hk/lace-core
8-
/packages/cardano/ @input-output-hk/lace-core
9-
/packages/common/ @input-output-hk/lace-core
10-
/packages/core/ @input-output-hk/lace-core
11-
/packages/e2e-tests/ @input-output-hk/xsy-lace-test-engineers
12-
/packages/nami/ @input-output-hk/lace-core
13-
/packages/staking/ @input-output-hk/lace-core
14-
/packages/translation/ @input-output-hk/lace-core
7+
/v1/packages/bitcoin/ @input-output-hk/lace-core
8+
/v1/packages/cardano/ @input-output-hk/lace-core
9+
/v1/packages/common/ @input-output-hk/lace-core
10+
/v1/packages/core/ @input-output-hk/lace-core
11+
/v1/packages/e2e-tests/ @input-output-hk/xsy-lace-test-engineers
12+
/v1/packages/nami/ @input-output-hk/lace-core
13+
/v1/packages/staking/ @input-output-hk/lace-core
14+
/v1/packages/translation/ @input-output-hk/lace-core
1515

1616
# Apps
17-
/apps/ @input-output-hk/lace-core
17+
/v1/apps/ @input-output-hk/lace-core

.github/actions/install/action.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ runs:
1616
uses: actions/setup-node@v4
1717
with:
1818
node-version-file: '.nvmrc'
19-
cache: 'yarn'
19+
20+
- name: Enable Corepack
21+
shell: bash
22+
run: corepack enable
2023

2124
- name: Configure Yarn to use GitHub Packages
2225
run: |
@@ -46,14 +49,19 @@ runs:
4649
path: |
4750
node_modules
4851
**/node_modules
49-
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
52+
key: ${{ runner.os }}-${{ hashFiles('yarn.lock', 'v1/yarn.lock') }}
53+
54+
- name: Install root dependencies
55+
run: yarn install --immutable --inline-builds
56+
shell: bash
5057

51-
- name: Install dependencies
58+
- name: Install v1 dependencies
5259
run: yarn install --immutable --inline-builds
60+
working-directory: ./v1
5361
shell: bash
5462

5563
- name: Decrypt test data
56-
working-directory: ./packages/e2e-tests
64+
working-directory: ./v1/packages/e2e-tests
5765
run: ./decrypt_secret.sh
5866
shell: bash
5967
env:

.github/actions/test/e2e/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ runs:
5151
if: success()
5252
shell: bash
5353
id: e2e-tests
54-
working-directory: ./packages/e2e-tests
54+
working-directory: ./v1/packages/e2e-tests
5555
env:
5656
WALLET_1_PASSWORD: ${{ inputs.WALLET_PASSWORD }}
5757
TEST_DAPP_URL: ${{ inputs.TEST_DAPP_URL }}
@@ -76,7 +76,7 @@ runs:
7676
- name: Save dmesg logs
7777
shell: bash
7878
if: always()
79-
working-directory: ./packages/e2e-tests
79+
working-directory: ./v1/packages/e2e-tests
8080
run: |
8181
sudo dmesg > ./dmesg.log
8282
@@ -88,9 +88,9 @@ runs:
8888
with:
8989
name: runner-artifacts-${{ env.BATCH }}
9090
path: |
91-
./packages/e2e-tests/screenshots
92-
./packages/e2e-tests/logs
93-
./packages/e2e-tests/reports/allure/results
94-
./packages/e2e-tests/dmesg.log
95-
./packages/e2e-tests/metrics
91+
./v1/packages/e2e-tests/screenshots
92+
./v1/packages/e2e-tests/logs
93+
./v1/packages/e2e-tests/reports/allure/results
94+
./v1/packages/e2e-tests/dmesg.log
95+
./v1/packages/e2e-tests/metrics
9696
retention-days: 5

.github/labeler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
# Browser extension
44
browser:
5-
- any: ['apps/browser-extension-wallet/**/*']
5+
- any: ['v1/apps/browser-extension-wallet/**/*']
66
# Staking
77
staking:
8-
- any: ['packages/staking/**/*']
8+
- any: ['v1/packages/staking/**/*']
99
- any: ['.github/workflows/packages-staking.yml']
1010

1111
# E2E
1212
e2e:
13-
- any: ['packages/e2e-tests/**/*']
13+
- any: ['v1/packages/e2e-tests/**/*']
1414
# Docs
1515
documentation:
1616
- any: ['docs/**/*', '**/*.md']

.github/shared/build/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ runs:
117117
uses: actions/setup-node@v4
118118
with:
119119
node-version-file: '.nvmrc'
120-
cache: 'yarn'
121120

122121
- name: Node modules cache
123122
uses: actions/cache@v4
@@ -127,6 +126,10 @@ runs:
127126
**/node_modules
128127
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
129128

129+
- name: Enable Corepack
130+
shell: bash
131+
run: corepack enable
132+
130133
- name: Configure Yarn to use GitHub Packages
131134
run: |
132135
SCOPE="input-output-hk"
@@ -155,6 +158,7 @@ runs:
155158

156159
- name: Build dist version
157160
shell: bash
161+
working-directory: ./v1/apps/browser-extension-wallet
158162
env:
159163
NODE_OPTIONS: '--max_old_space_size=8192'
160164
BUILD_DEV_PREVIEW: ${{ inputs.BUILD_DEV_PREVIEW }}

.github/workflows/build-dev-preview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
CARDANO_SERVICES_URL_SANCHONET: 'https://live-sanchonet.lw.iog.io'
3333
PRODUCTION_MODE_TRACKING: 'false'
3434
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
35+
MAESTRO_PROJECT_ID_MAINNET: ''
36+
MAESTRO_PROJECT_ID_TESTNET: ''
3537
- name: Check for linter issues
3638
run: yarn lint
3739
- name: Execute unit tests
@@ -40,4 +42,4 @@ jobs:
4042
uses: actions/upload-artifact@v4
4143
with:
4244
name: Lace (Developer Preview)
43-
path: apps/browser-extension-wallet/dist
45+
path: v1/apps/browser-extension-wallet/dist

0 commit comments

Comments
 (0)