diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c997481bc..cbdd680f7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -232,6 +232,13 @@ jobs: - name: Run tests run: yarn test:ci working-directory: 'packages/preview-service' + - name: 'Upload Artifact on failure' + if: failure() + uses: actions/upload-artifact@v4 + with: + name: preview-service-logs-on-failure + path: /tmp/**/*.log + retention-days: 5 docker-build-postgres-container: runs-on: blacksmith