Skip to content

build(deps): bump the minor-and-patch-actions-weekly group across 1 directory with 9 updates #12532

build(deps): bump the minor-and-patch-actions-weekly group across 1 directory with 9 updates

build(deps): bump the minor-and-patch-actions-weekly group across 1 directory with 9 updates #12532

Workflow file for this run

name: Dapp Tests
on:
pull_request:
branches: [main, release/**]
push:
branches: [main, release/**]
tags: [v*]
concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
setup-local-hedera:
name: Dapp Tests
runs-on: hiero-smart-contracts-linux-medium
timeout-minutes: 45 # Set to 45 minutes for now
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
with:
egress-policy: audit
- name: Checkout repo
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup node
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 22
- name: Install build tools
run: sudo apt-get update && sudo apt-get install -y make gcc g++
- name: Install packages
run: npm ci
- name: Create .env file
run: |
cp ./dapp-example/localDappCI.env ./dapp-example/.env
cp ./packages/server/tests/localAcceptance.env .env
- name: Install pnpm
run: npm install -g pnpm
- name: Build Typescript
run: npx lerna run build
- name: Start the hedera local node
run: npx hedera start -d
- name: Stop the local node's relay
run: docker stop json-rpc-relay
- name: Start the local relay
run: npm run start &
- name: Build, Bootstrap & Test the dapp in Docker
run: docker compose up --exit-code-from synpress
working-directory: ./dapp-example/
- name: Dump relay logs
if: ${{ always() && !cancelled() }}
uses: step-security/gh-docker-logs@2ffe2e0e1da43c5db68902dd900c47cdba10bfe6 # v2.2.6
with:
dest: './logs'
- name: Tar logs
if: ${{ always() && !cancelled() }}
run: tar cvzf ./logs.tgz ./logs
- name: Upload logs to GitHub
if: ${{ always() && !cancelled() }}
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: logs.tgz
path: ./logs.tgz
- name: Publish Reports
uses: mikepenz/action-junit-report@3585e9575db828022551b4231f165eb59a0e74e3 # v5.6.2
if: ${{ always() && !cancelled() }}
with:
check_name: Dapp Test Report
report_paths: "**/*.xml"
detailed_summary: true