Github Actions
This is an optional step, using GitHub actions provides a continuous integration mechanism for automating the validity of your client and your environment variables.
Last updated
Was this helpful?
This is an optional step, using GitHub actions provides a continuous integration mechanism for automating the validity of your client and your environment variables.
Last updated
Was this helpful?
Consider this process as an automated CI flow for verifying the stablity of your client against your configuration scheduled on a daily basis.
The benefit of setting up the github action flow is that it will check the lint and basic tests for the app.
As before add your esstiential environment variables to your Github
HEDERA_NETWORK
HEDERA_ACCOUNT_ID
HEDERA_PRIVATE_KEY
API_SECRET_KEY
You can update your secrets from your Github repository from Settings -> Secrets.
If a job fails and you wish to re-run the job you can re-run all jobs from the Actions tab.
When combined with the APP_URL with the live API_SECRET_KEY the tests will check basic free routes of the client, this includes the end points for status and account balance.
Ensure that these environment variables are added as secrets as before.
The scheduled CI Github action will run everyday and check that the external client has a valid configuration.