Skip to content

CI/CD Actions

OpenCodeHub supports GitHub Actions–style workflows defined in .github/workflows/*.yml.

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npm test
  • Global runs: /actions
  • Repo runs: /owner/repo/actions

Set these environment flags to enable runners:

Terminal window
RUNNER_ENABLED=true
RUNNER_DOCKER_SOCKET=/var/run/docker.sock
RUNNER_CONCURRENT_JOBS=2
RUNNER_TIMEOUT=3600

And ensure actions are enabled:

Terminal window
ENABLE_ACTIONS=true
Terminal window
och ci list --branch main
och ci view <run-id> --jobs
och ci trace <job-id> --follow