Skip to content

Bump versions for v0.48.0-alpha0 #6195

Bump versions for v0.48.0-alpha0

Bump versions for v0.48.0-alpha0 #6195

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
jobs:
setup-local-hedera:
name: Dapp Tests
runs-on: ubuntu-latest
timeout-minutes: 35 # Set to 35 minutes for now
permissions:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.13.0
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- 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: Run RPC Server
run: npm run integration:prerequisite &
- name: Check local node
run: npm run check:node
- 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: jwalton/gh-docker-logs@v2
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@v3
with:
name: logs.tgz
path: ./logs.tgz
- name: Publish Reports
uses: mikepenz/action-junit-report@v3
if: ${{ always() && !cancelled() }}
with:
check_name: Dapp Test Report
report_paths: "**/*.xml"
detailed_summary: true