This boilerplate is designed as a super simple boilerplate to get a Node Lambda up and running using:
Serverlessfor deploymentSentryfor loggingESLintfor linting witheslint-config-airbnb-baseandprettierJestfor testing
- Copy this repo, it's a template repo so it should be easy
- Replace service name in
serverless.ymlandpackage.json - Go to the Repo Settings -> Secrets and insert your
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEYandAWS_REGION - Follow the steps in https://blog.sentry.io/2019/12/17/using-github-actions-to-create-sentry-releases to set the
SENTRY_AUTH_TOKEN,SENTRY_ORG,SENTRY_PROJECTandSENTRY_DEPLOY_ENVIRONMENTvariables
- Branch builds
- Test on PR opening
- Split workflows?
- Auto service naming?
- Env variables / secrets / git-crypt?