Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to use serverless #4

Merged
merged 40 commits into from
Jun 27, 2022
Merged

Update to use serverless #4

merged 40 commits into from
Jun 27, 2022

Conversation

em-c-rod
Copy link
Contributor

@em-c-rod em-c-rod commented Apr 19, 2022

  • Check readme
  • Delete unneeded files (.npmignore, package-lock.json)
  • Determine if any tests or workflows are desired

config.json Outdated Show resolved Hide resolved
"scripts": {
"make-event": "serverless generate-event -t aws:s3 > test/event.json",
"test": "serverless invoke local --function saf-lambda-function --path test/event.json",
"check": "serverless deploy list"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these three scripts helpful or confusing? Check out the readme for the documentation in the testing section.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You aren't referencing the 'check' command at least at the version of the readme i'm seeing.

These other two scripts are fine. I would emphasize within the readme that these are optional commands one can run as part of their testing process - it should be emphasized that they are not the only means through which one should be testing things.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Signed-off-by: Emily Rodriguez <[email protected]>
handler.js Outdated Show resolved Hide resolved
handler.js Show resolved Hide resolved
handler.js Outdated Show resolved Hide resolved
handler.js Outdated Show resolved Hide resolved
handler.js Outdated Show resolved Hide resolved
handler.js Outdated Show resolved Hide resolved
handler.js Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
serverless.yml Show resolved Hide resolved
"scripts": {
"make-event": "serverless generate-event -t aws:s3 > test/event.json",
"test": "serverless invoke local --function saf-lambda-function --path test/event.json",
"check": "serverless deploy list"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You aren't referencing the 'check' command at least at the version of the readme i'm seeing.

These other two scripts are fine. I would emphasize within the readme that these are optional commands one can run as part of their testing process - it should be emphasized that they are not the only means through which one should be testing things.

Emily Rodriguez added 4 commits May 5, 2022 16:17
Signed-off-by: Emily Rodriguez <[email protected]>
Signed-off-by: Emily Rodriguez <[email protected]>
Signed-off-by: Emily Rodriguez <[email protected]>
serverless.yml Outdated Show resolved Hide resolved
@em-c-rod em-c-rod mentioned this pull request Jun 27, 2022
13 tasks
@em-c-rod em-c-rod merged commit cb57219 into main Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants