- Checkout repository
- Run
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install
- Unzip
headless_chromium.zip
toheadless_chromium
folder runningunzip headless_chromium.zip
- Put
index.js
,node_modules
andheadless_chromium
to a zip archive. - Deploy to AWS Lambda