Change build step to shell script

This commit is contained in:
Felipe Knorr Kuhn 2025-01-19 14:21:23 -08:00
parent f59e95fcc8
commit 1098d2fe3c
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

View File

@ -318,7 +318,12 @@ jobs:
with: with:
tag: ${{ github.event_name }} tag: ${{ github.event_name }}
working-directory: ${{ matrix.module }}/frontend working-directory: ${{ matrix.module }}/frontend
build: ${{ matrix.module == 'testnet4' && 'npm run config:defaults:mempool' || 'npm run config:defaults:${{ matrix.module }}' }} build: |
if [[ "${{ matrix.module }}" == "testnet4" ]]; then
npm run config:defaults:mempool
else
npm run config:defaults:${{ matrix.module }}
fi
start: npm run start:local-staging start: npm run start:local-staging
wait-on: "http://localhost:4200" wait-on: "http://localhost:4200"
wait-on-timeout: 120 wait-on-timeout: 120