Continuous Integration (CI)
Overview
GitHub Actions is used for Continuous Integration (CI). You’ll find the workflow files in the .github/workflows directory:
spring-boot.yml: Run linting, unit and integration tests for Spring Boot API.svelte-kit.yml: Run linting, unit and integration tests for SvelteKit UI.docs.yml: Run linting for the docs.
The workflows are automatically triggered when changes are made to the corresponding directories. You can also trigger them manually via the GitHub Actions interface.
Environment Variables
The svelte-kit.yml workflow requires secrets and environment variables.
Add the following as variables in the settings of your repo, under Secrets and variables > Actions:
PUBLIC_APP_NAME=your_app_name
PUBLIC_API_URL=http://localhost:8080/v1Add the following as a secret in the settings of your repo, under Secrets and variables > Actions:
JWT_SECRET=secretRunning Workflows Manually
To manually trigger any workflow:
- Navigate to the Actions tab in your repository.
- Select the desired workflow (e.g.,
spring-boot.yml,svelte-kit.yml, ordocs.yml). - Click the Run workflow button.
Last updated on