Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ name: ci
on:
push:
branches: [main]
paths-ignore: ["docs/**", "*.md", ".cleo/**"]
pull_request:
paths-ignore: ["docs/**", "*.md", ".cleo/**"]

permissions:
contents: read

# A newer push to the same PR cancels its superseded run; main pushes always finish.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
test:
strategy:
Expand All @@ -16,6 +23,7 @@ jobs:
# T013: pull requests run Linux only; macOS runs on main pushes and on release tags (release.yml).
os: ${{ fromJSON(github.event_name == 'pull_request' && '["ubuntu-24.04"]' || '["macos-14", "ubuntu-24.04"]') }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- { os: ubuntu-24.04, platform: linux-x64 }
- { os: ubuntu-24.04-arm, platform: linux-arm64 }
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -68,15 +69,18 @@ jobs:
name: agentmbx-macos-app
path: build/AgentMBX-macos.zip
if-no-files-found: error
retention-days: 1 # handed to the release job; the GitHub Release keeps the asset
- uses: actions/upload-artifact@v4
with:
name: agentmbx-${{ matrix.platform }}
path: build/agentmbx-${{ matrix.platform }}
if-no-files-found: error
retention-days: 1 # handed to the release job; the GitHub Release keeps the asset

release:
needs: build
runs-on: ubuntu-24.04
timeout-minutes: 20
permissions:
contents: write
steps:
Expand Down Expand Up @@ -113,6 +117,7 @@ jobs:
# The trust binding on npmjs.com names this repo and this workflow filename; renaming release.yml breaks it.
needs: release
runs-on: ubuntu-24.04
timeout-minutes: 20
permissions:
contents: read
id-token: write
Expand Down
Loading