Skip to content

Merge pull request #2 from chaitin/feature/release-workflow-idempotent #7

Merge pull request #2 from chaitin/feature/release-workflow-idempotent

Merge pull request #2 from chaitin/feature/release-workflow-idempotent #7

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
go-test:
name: Go tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- run: go test ./cmd/... ./pkg/...
frontend:
name: Frontend build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build:ui
runtime-sdk:
name: Runtime SDK
runs-on: ubuntu-latest
defaults:
run:
working-directory: runtime/agent-compose-runtime-sdk
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: runtime/agent-compose-runtime-sdk/package-lock.json
- run: npm ci
- run: npm test
- run: npm run test:packaging
scheduler-runtime:
name: Scheduler runtime
runs-on: ubuntu-latest
defaults:
run:
working-directory: runtime/javascript
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: runtime/javascript/package-lock.json
- run: npm ci
- run: npm run test:unit