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

Run test and esbuild when amplify push #5

Open
jolo-dev opened this issue Oct 5, 2021 · 0 comments
Open

Run test and esbuild when amplify push #5

jolo-dev opened this issue Oct 5, 2021 · 0 comments
Labels
Hacktoberfest Hacktoberfest 2021

Comments

@jolo-dev
Copy link
Contributor

jolo-dev commented Oct 5, 2021

Amplify CLI supports a PrePush before pushing it.
That is quite handy to run tests and bundling.

Process:

  1. User runs amplify push
  2. add-fancy executes tests for the fancy-function-folder
  3. a) when successful then go to 4b) else prevent to push
  4. b) run bundling
  5. Amplify CLI pushes the changes
@jolo-dev jolo-dev added the Hacktoberfest Hacktoberfest 2021 label Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Hacktoberfest 2021
Projects
None yet
Development

No branches or pull requests

1 participant