Skip to content

Commit

Permalink
fixup! chore(ci): add node bridge bin.js CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
grdddj committed Oct 1, 2024
1 parent 18cc925 commit 464bd7c
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/build-node-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@ name: "[Build] suite-node-bridge-bin-js"

on:
push:
paths-ignore:
- "suite-native/**"
- "docs/**"
- "docker/**"
- "ci/**"
- ".vscode/**"
- ".maestro/**"
branches:
- develop
- grdddj/ci_node_bridge_build
pull_request:
types: [labeled]
workflow_dispatch:
Expand Down Expand Up @@ -47,3 +43,19 @@ jobs:
path: |
packages/transport-bridge/dist/bin.js
retention-days: 3

- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::538326561891:role/gh_actions_trezor_suite_dev_deploy
aws-region: eu-central-1

- name: Upload transport tester
shell: bash
env:
DEPLOY_PATH: s3://dev.suite.sldev.cz/transport-bridge/${{ needs.extract-branch.outputs.branch }}
run: |
echo "DEPLOY_PATH is set to ${DEPLOY_PATH}"
mkdir -p tmp_build_directory
cp -R ./packages/transport-bridge/dist/* tmp_build_directory/
aws s3 sync --delete tmp_build_directory/ "${DEPLOY_PATH}"

0 comments on commit 464bd7c

Please sign in to comment.