Skip to content

Commit

Permalink
feature/IVYPORTAL-17377-Create-pipeline-to-run-Lighthouse-report
Browse files Browse the repository at this point in the history
  • Loading branch information
nhthinh-axonivy committed Dec 26, 2024
1 parent c571a6b commit 825b9d6
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/lighthouse-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,30 @@ jobs:
- name: Start Axon Ivy Engine
run: |
# Install dirname if missing
which dirname || (sudo apt-get update && sudo apt-get install -y coreutils)
# Debug current location and files
pwd
echo "Current directory contents:"
ls -la
# Use absolute paths and verify files
cd $ENGINE_DIR/bin
./AxonIvyEngine
echo "Engine bin directory contents:"
ls -la
# Verify JVM options files
echo "Checking JVM options files:"
test -f jvm-module.options && echo "jvm-module.options exists" || echo "jvm-module.options missing"
test -f jvm.options && echo "jvm.options exists" || echo "jvm.options missing"
# Start engine with absolute paths
$ENGINE_DIR/bin/AxonIvyEngine
env:
IVY_JAVA_HOME: ${{ env.JAVA_HOME }}
JAVA_HOME: ${{ env.JAVA_HOME }}
PATH: ${{ env.PATH }}
PATH: ${{ env.JAVA_HOME }}/bin:$PATH

- name: Build Portal Modules
run: |
Expand Down

0 comments on commit 825b9d6

Please sign in to comment.