Continuous Integration/Continuous Delivery
CI/CD are two very important aspects of DevOps. They consist of automatically building and running tests when a code change is committed to source control, and then automatically deploying the application (often to test environments before going into production).
We can enable full CI/CD for our Svelte application too, using a platform that runs our tests and automatically deploys to Azure Storage every time we make a code change.
We will use GitHub Actions as our CI/CD platform. This is built into the GitHub platform, and it's free for public repositories.
Putting our app's code on GitHub
We've reached this point without ever putting our app's code into any source control. Before we can run any CI/CD jobs, our app's code needs to be added to a Git repository and pushed to GitHub.
Installing Git
If you don't have Git installed already, follow these instructions, depending on your operating system...