NestJS based template for API lambdas. (suited for CloudpayAPI refactoring)
- update package.json name, description, urls
- update dependencies
- update serverless.yaml 'service' field
- run husky install before first commit to enable it's functionality
First install the build dependencies
npm install
If you encounter issues with accessing any of the package libraries:
- acquire PAT from github (with at least packages:read access)
- edit your ~/.npmrc file and add in the following lines with your token (from above):
Now simply run the package command
@streamamg:registry=https://npm.pkg.github.com //npm.pkg.github.com/:_authToken=<add-token-from-above-here>
npm run package
The packaged functions can be found in the .serverless folder
GitHub Actions perform the build and publish of the release versions to S3.