podkrepi-bg / api

Nest.js REST backend for charity platform Podkrepi.bg https://podkrepi.bg/swagger

Home Page:https://podkrepi.bg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Dump error logs to a file with an artifact in the CI/CD

dimitur2204 opened this issue · comments

Is your feature request related to a problem? Please describe.
In order to be able to debug in the CI/CD it would be good to have the logs on file you can download, after an errored out action

Describe the solution you'd like
Nest is already logging in the console when you run the project, we should dump these logs to a file that can be downloaded when the CI/CD actions is run

Solved the file logging by running yarn start &> api.log & in the workflow

podkrepi-bg/frontend#1110