-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into dev-tools/deny-external
- Loading branch information
Showing
347 changed files
with
4,866 additions
and
18,940 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
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
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,45 @@ | ||
name: Ledgernano End-to-end Tests | ||
|
||
on: workflow_call | ||
|
||
concurrency: | ||
group: ledgernano-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
ledgernano: | ||
name: Ledgernano | ||
runs-on: self-hosted | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | ||
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # [email protected] | ||
|
||
- name: Install Nodejs | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
node-version: "20" | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Install ledgernano dependencies | ||
run: | | ||
sudo apt-get install -y qemu-user-static | ||
sudo apt-get install -y libxcb-xinerama0 | ||
sudo pip install speculos --break-system-packages | ||
- name: Download ledgernano bin | ||
run: | | ||
sudo apt-get install -y gh | ||
echo ${{ secrets.LEDGER_APP_TOKEN }} | gh auth login --with-token | ||
gh release list --repo https://github.com/iotaledger/ledger-app-iota | ||
gh release download --repo https://github.com/iotaledger/ledger-app-iota -p nanos.tar.gz untagged-a706a550379839d8db15 | ||
tar -xvf nanos.tar.gz | ||
mv nanos/iota sdk/ledgerjs-hw-app-iota/tests/iota | ||
- name: Start speculos simulator | ||
run: speculos --api-port 5000 --display headless ./sdk/ledgerjs-hw-app-iota/tests/iota & | ||
|
||
- name: Run TS SDK ledgernano tests | ||
run: pnpm --filter @iota/ledgerjs-hw-app-iota test |
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
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,98 @@ | ||
name: Vercel Deploys | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
isExplorer: | ||
type: boolean | ||
required: true | ||
isTypescriptSDK: | ||
type: boolean | ||
required: true | ||
isAppsBackend: | ||
type: boolean | ||
required: true | ||
isAppsUiKit: | ||
type: boolean | ||
required: true | ||
isWalletDashboard: | ||
type: boolean | ||
required: true | ||
shouldDeployPreview: | ||
type: boolean | ||
required: true | ||
isDevelop: | ||
type: boolean | ||
required: true | ||
githubRef: | ||
type: string | ||
required: true | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ inputs.githubRef }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
explorer-preview: | ||
name: Vercel Explorer Preview | ||
if: inputs.shouldDeployPreview && inputs.isExplorer | ||
uses: ./.github/workflows/apps-explorer.deploy.yml | ||
secrets: inherit | ||
with: | ||
isProd: false | ||
|
||
explorer-prod: | ||
name: Vercel Explorer Production | ||
if: inputs.isDevelop | ||
uses: ./.github/workflows/apps-explorer.deploy.yml | ||
secrets: inherit | ||
with: | ||
isProd: true | ||
|
||
ui-kit-preview: | ||
name: Vercel UI Kit Preview | ||
if: inputs.shouldDeployPreview && inputs.isAppsUiKit | ||
uses: ./.github/workflows/apps-ui-kit.deploy.yml | ||
secrets: inherit | ||
with: | ||
isProd: false | ||
|
||
ui-kit-prod: | ||
name: Vercel UI Kit Preview | ||
if: inputs.isDevelop | ||
uses: ./.github/workflows/apps-ui-kit.deploy.yml | ||
secrets: inherit | ||
with: | ||
isProd: true | ||
|
||
wallet-dashboard-preview: | ||
name: Vercel Wallet Dashboard Preview | ||
if: inputs.shouldDeployPreview && inputs.isWalletDashboard | ||
uses: ./.github/workflows/apps-wallet-dashboard.deploy.yml | ||
secrets: inherit | ||
with: | ||
isProd: false | ||
|
||
wallet-dashboard-prod: | ||
name: Vercel Wallet Dashboard Production | ||
if: inputs.isDevelop | ||
uses: ./.github/workflows/apps-wallet-dashboard.deploy.yml | ||
secrets: inherit | ||
with: | ||
isProd: true | ||
|
||
apps-backend-preview: | ||
name: Vercel apps-backend Preview | ||
if: inputs.shouldDeployPreview && inputs.isAppsBackend | ||
uses: ./.github/workflows/apps-backend.deploy.yml | ||
secrets: inherit | ||
with: | ||
isProd: false | ||
|
||
apps-backend-prod: | ||
name: Vercel apps-backend Production | ||
if: inputs.isDevelop | ||
uses: ./.github/workflows/apps-backend.deploy.yml | ||
secrets: inherit | ||
with: | ||
isProd: true |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.