-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0601346
commit 67eef7b
Showing
15 changed files
with
183 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: build cardano | ||
description: Build packages/cardano | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Build cardano package | ||
run: yarn build | ||
shell: bash | ||
working-directory: packages/cardano | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: packages-cardano | ||
path: packages/cardano/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: build common | ||
description: Build packages/common | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Build common package | ||
run: yarn build | ||
shell: bash | ||
working-directory: packages/common | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: packages-common | ||
path: packages/common/dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: build core | ||
description: Build packages/core | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Build core package | ||
run: yarn build | ||
shell: bash | ||
working-directory: packages/core | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: build icons | ||
description: Build packages/icons | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Build icons package | ||
run: yarn build | ||
shell: bash | ||
working-directory: packages/icons | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: packages-icons | ||
path: packages/icons/dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: build staking | ||
description: Build packages/staking | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Build staking package | ||
run: yarn build | ||
shell: bash | ||
working-directory: packages/staking | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: packages-staking | ||
path: packages/staking/dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: build ui | ||
description: Build packages/ui | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Build ui package | ||
run: yarn build | ||
shell: bash | ||
working-directory: packages/ui | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: packages-ui | ||
path: packages/ui/dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: setup and install | ||
description: Setup Node.js and install dependencies | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Setup Node.js | ||
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') }} | ||
|
||
- name: Install dependencies | ||
run: yarn install --immutable --inline-builds | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: lint | ||
description: Format and lint | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Check code formatting | ||
run: yarn format-check | ||
shell: bash | ||
|
||
- name: Lint code | ||
run: yarn lint | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: test | ||
description: Execute tests | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Decrypt test data | ||
working-directory: ./packages/e2e-tests | ||
run: ./decrypt_secret.sh | ||
shell: bash | ||
env: | ||
WALLET_1_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} | ||
|
||
- name: Unit tests | ||
run: yarn test --maxWorkers=2 --silent | ||
shell: bash | ||
env: | ||
AVAILABLE_CHAINS: 'Preprod,Preview,Mainnet' | ||
DEFAULT_CHAIN: 'Preprod' | ||
NODE_OPTIONS: '--max_old_space_size=8192' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- 'release/**' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Pull Request | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js and install dependencies | ||
uses: ./.github/actions/install | ||
|
||
# - name: Format and lint | ||
# uses: ./.github/actions/lint | ||
|
||
- name: Build icons | ||
uses: ./.github/actions/build/icons | ||
|
||
- name: Build ui | ||
uses: ./.github/actions/build/ui | ||
|
||
- name: Build common | ||
uses: ./.github/actions/build/common | ||
|
||
- name: Build cardano | ||
uses: ./.github/actions/build/cardano | ||
|
||
- name: Build core | ||
uses: ./.github/actions/build/core | ||
|
||
- name: Build staking | ||
uses: ./.github/actions/build/staking | ||
|
||
- name: Test | ||
uses: ./.github/actions/verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
name: Smoke Tests | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters