···991010In this guide, we will show you how to use OpenStatus for testing latency in GitHub Actions to verify your endpoint's performance.
11111212- We'll deploy a basic API endpoint and run a latency test in a GitHub Action with OpenStatus. If the latency is higher than expected, we will roll back the deployment.
1212+We'll deploy a basic API endpoint and run a latency test in a GitHub Action with OpenStatus. If the latency is higher than expected, we will roll back the deployment.
13131414All the code showcased in this guide is available on [GitHub](https://github.com/openstatusHQ/github-action-rollback).
1515···9494## Setting up the GitHub Actions
95959696We will use GitHub Actions to deploy our endpoint and run the test.
9797-We are using the bun CLI to deploy our endpoint instead of the Cloudflare Workers Action and run the test
9797+We are using the package.json command to deploy our endpoint instead of the Cloudflare Workers Action and run the test
98989999You need to set up your secrets in the GitHub repository settings for the OpenStatus API key and Cloudflare API token.
100100···178178179179## Conclusion
180180181181-We have successfully set up a GitHub Action that deploys our endpoint our Cloudflare workers and runs a latency test against it with OpenStatus.
181181+We have successfully set up a GitHub Action that deploys our endpoint our Cloudflare Workers and runs a latency test against it with OpenStatus.
182182+183183+182184Don't ever let your users experience slow endpoints, use OpenStatus to monitor your endpoint's performance and roll back deployments if needed.