Expose `npm-debug.log` in artifacts tab

nodejs

#1

Seems like npm-debug.log is not configurable (path). It also seems like Circle’s artifacts tab only exposes files inside a specific artificats folder.

Anyway to automatically detect and expose the npm-debug.log file?

I’m getting a random failure where my npm test -> karma task is just “killed” without any useful information.


#2

Hey juanca,

Please take a look at our docs regarding that here https://circleci.com/docs/configuration/#artifacts

If you know where the log file is you should be able to have it uploaded into your artifacts.

Best,
Constantin


#3

Oh! Thanks Tzeejay!

This should work for my purposes – a lil’ surprised I missed that tidbit in the docs.


#4