diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8bd30db00..a706ee586 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,10 @@ on: description: "Provider VM version (e.g., v0.3.0)" required: false default: "v0.3.0" + log_level: + description: "The log level to force on golem-js pino-logger" + required: false + default: "info" # We're going to interact with GH from the pipelines, so we need to get some permissions permissions: @@ -45,6 +49,7 @@ env: PROVIDER_WASI_VERSION: ${{ github.event.inputs.provider_wasi_version || 'v0.2.2' }} PROVIDER_VM_VERSION: ${{ github.event.inputs.provider_vm_version || 'v0.3.0' }} PAYMENT_NETWORK: ${{ github.event.inputs.payment_network || 'holesky' }} + GOLEM_PINO_LOG_LEVEL: ${{ github.event.inputs.log_level || 'info' }} jobs: regular-checks: @@ -122,7 +127,7 @@ jobs: uses: ./.github/actions/prepare-tests - name: Run the Examples tests - run: docker exec -t docker-requestor-1 /bin/sh -c "cd /golem-js && npm run test:examples -- --exitOnError" + run: docker exec -t -e GOLEM_PINO_LOG_LEVEL="${{ env.GOLEM_PINO_LOG_LEVEL }}" docker-requestor-1 /bin/sh -c "cd /golem-js && npm run test:examples -- --exitOnError" - name: Cleanup test environment uses: ./.github/actions/cleanup-tests