CI recipes
GitHub Actions
Using Momentic with GitHub Actions
Here is a GitHub repository with sample code: momentic-github-actions-demo.
This is an example of how to setup Momentic tests to run on every pull request and commit to main
using GitHub Actions. Make sure to set the MOMENTIC_API_KEY
secret in your repository settings.
The YAML below assumes that the command npm run start
will start your application on localhost:3000
. Customize these values to suit your build process.
Finally, this configuration assumes that you have committed your Momentic tests and configuration files to your Git repository.
Was this page helpful?