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

Implement CI/CD workflow #204

Open
nathanielrindlaub opened this issue Jun 6, 2024 · 2 comments · May be fixed by #234
Open

Implement CI/CD workflow #204

nathanielrindlaub opened this issue Jun 6, 2024 · 2 comments · May be fixed by #234

Comments

@nathanielrindlaub
Copy link
Member

@jue-henry and @alukach - I'd welcome any suggestions you have as I'm not too familiar with implementing this. In addition to the issues Henry has run into recently while deploying from his local machine, this Sharp install issue (see note here) is driving me a bit insane and could be fixed with a centralized, remote build and deployment workflow.

It looks like there's a Serverless GH action that we might want to use? https://github.com/marketplace/actions/serverless

@nathanielrindlaub
Copy link
Member Author

@nathanielrindlaub
Copy link
Member Author

nathanielrindlaub commented Jun 6, 2024

We have the following processes to include in the workflow, I'm just not sure where exactly makes the most sense:

  1. linting (eslint)
  2. GraphQL typescript codegen (graphql-codegen)
  3. Mongoose typescript codegen (?)
  4. compiling (tsc)
  5. testing (tape)
  6. deploying* (serverless)

* serverless is currently also preforming the typescript compilation step before building

We'd need to figure out how to deploy to staging vs production branch as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants