DEV Community

loading...

Discussion on: Deploy to AWS Lambda using Github Actions

Collapse
azerpas profile image
Azerpas • Edited

If anyone is struggling with adding node_modules to the zip, here's my command:
run: npm install && npm run build && cp -r ./node_modules dist && cd dist && zip -qq -r ./bundle.zip . && mv bundle.zip ..