HTML To PDF CI
6 min read | | Topics: CLI CI Puppeteer NPM
In the process of creating my new static site, I noticed I was regenerating my resume PDF whenever I updated the source HTML. Since the PDF is derivative of the HTML, I didn't want to maintain two sources of truth. My friend, Dylan, suggested that I create a continuous integration (CI) module to generate this PDF on build. We both have web based resumes and figured this was something that could be useful to others as well. It seemed like a straightforward task, so I started planning and designing what this tool would do.