Commit Graph

43 Commits

Author SHA1 Message Date
adam jones
28a313206c fix(ci): test failures should fail the build (#3019)
The 'Check if tests exist' step was actually running tests with
continue-on-error: true. If tests failed, it would set has-tests=false
and skip the actual test step, making CI appear green even with failing tests.

Simplified to use 'npm test --if-present' which:
- Runs tests if a test script exists (and fails if tests fail)
- Does nothing and exits 0 if no test script exists
- Removes the need for the complex check logic

Fixes the issue where PR #3014 had failing tests but CI was green.
2025-11-17 15:41:31 -06:00
adam jones
ec5357226a Update Claude Code GitHub Action from beta to v1 (#3018)
Updates the Claude Code GitHub Action to use the stable v1 GA release instead of the beta version.

## Changes
- Updates action version from `@beta` to `@v1`
- Migrates `allowed_tools` to `claude_args: --allowedTools`
- Migrates `custom_instructions` to `claude_args: --system-prompt`
- Retains `additional_permissions` and `assignee_trigger` (both still supported in v1)

## Behavior
The action continues to work the same way:
- Triggers on `@claude` mentions in comments, reviews, and issues
- Triggers when assigned to an issue as "claude"
- Allows Claude to run Bash commands
- Allows Claude to read CI results on PRs
- Applies custom instructions for posting concise summaries
2025-11-17 15:41:22 -06:00
Cliff Hall
9280e8fa74 Remove comments that break release.yml (#2735)
- remove comments that break CI.
  - github does not support comments, even though they are valid yaml
2025-09-19 01:27:09 +01:00
cliffhall
888184493c * In .github/workflows/release.yml
- in create-release job condition
    - add comments about use of always
2025-09-18 15:58:01 -04:00
cliffhall
20430df0de * In .github/workflows/release.yml
- in create-release job condition
    - simplify condition
2025-09-18 15:39:00 -04:00
cliffhall
e545918618 * In .github/workflows/release.yml
- in create-release job condition
    - check for all combinations of publish results that should lead to a release creation
      - npm = success / pypi = skipped
      - npm = skipped / pypi = success
      - npm = success / pypi = success
2025-09-17 13:31:29 -04:00
cliffhall
7061c367c5 * In .github/workflows/release.yml
- in create-release job condition
    - check for all combinations of publish results that should lead to a release creation
      - npm = success / pypi = skipped
      - npm = skipped / pypi = success
      - npm = success / pypi = success
2025-09-17 13:27:44 -04:00
cliffhall
9a65da3e78 * In .github/workflows/release.yml
- in create-release job condition
    - check for all combinations of publish results that should lead to a release creation
      - npm = success / pypi = skipped
      - npm = skipped / pypi = success
      - npm = success / pypi = success
2025-09-17 11:44:40 -04:00
Adam Jones
29aba77a93 fix: only run scheduled release pipeline on modelcontextprotocol org 2025-08-29 14:35:23 +01:00
adam jones
4f953be6f4 ci: Add Claude Code GitHub workflow (#2550) 2025-08-15 14:39:21 -07:00
cliffhall
8eb4921c13 In release.yml
- in publish-pypi job,
    - only proceed if there are python packages to publish

  - in publish-npm job,
        - only proceed if there are npm packages to publish
2025-07-31 16:40:05 -04:00
Jim Clark
ce9925473f remove the RepositoryDispatchEvent (building every six hours) 2025-07-04 12:03:08 -07:00
olaservo
9b1e5aad9c Add python tests to CI 2025-06-24 21:29:51 -07:00
olaservo
7206e1a2b0 Add test step to TypeScript CI workflow
- Added test job that runs before build
- Tests are conditionally executed only for packages that have test scripts
- Filesystem tests will now run automatically in CI on every push and PR
- Build job now depends on successful test completion
2025-06-20 06:57:15 -07:00
cliffhall
bcd25241b6 Removing version-check.yml from .github/workflows. It checked the version of the now removed Github server and is breaking CI. 2025-05-29 13:31:33 -04:00
Tim Rogers
01ec2b700b Tweak CI triggers 2025-02-04 12:26:47 +00:00
Tim Rogers
d5f719c1a2 Validate in CI that the GitHub server versions in package.json and version.ts match 2025-02-04 12:24:08 +00:00
David Soria Parra
01b5cd554c fix: release 2025-01-16 19:07:57 +00:00
Jim Clark
3de0a0c6ac Update release workflow for servers 2025-01-16 09:49:43 -08:00
David Soria Parra
4f3dc11065 new release workflow 2025-01-14 03:05:38 +00:00
David Soria Parra
8e944369b7 improve release workflow more 2025-01-14 01:42:00 +00:00
David Soria Parra
9edf9fcaf0 feat: update package versions before creating release tag 2025-01-14 00:39:59 +00:00
David Soria Parra
a156ab635b feat: only run create-tag job when packages are detected 2025-01-14 00:38:44 +00:00
David Soria Parra
85e303aab8 feat: remove release check 2025-01-14 00:35:12 +00:00
David Soria Parra
fbb0514749 feat: improvements to release.yml 2025-01-14 00:34:17 +00:00
David Soria Parra
3d8c33cd9a feat: enhance release workflow with artifact collection and job output handling 2025-01-13 20:01:18 +00:00
David Soria Parra
111806d6ae feat: use artifcats to collect mutliple job outputs into one
A matrix job cant have multiple outputs directly, see
https://github.com/orgs/community/discussions/17245.

Use the artifact workaround.
2025-01-13 19:43:19 +00:00
David Soria Parra
9f86ee5998 fix: fix scripts 2025-01-13 13:34:49 +00:00
David Soria Parra
c9b1adf3b6 use environments 2025-01-13 11:47:41 +00:00
David Soria Parra
b3f20decdc feat: fix workflow names 2025-01-13 11:38:25 +00:00
David Soria Parra
9db47b20e7 feat: rename 2025-01-13 11:36:15 +00:00
David Soria Parra
0989068ef1 feat: enhance release automation with daily checks 2025-01-13 11:34:12 +00:00
David Soria Parra
6d36b5a1ff feat: add daily release check workflow 2025-01-13 11:23:01 +00:00
David Soria Parra
26d3dd4760 feat: add weekly release automation 2025-01-10 21:05:09 +00:00
David Soria Parra
8b596a0f04 bump node 2024-12-20 18:29:47 +00:00
David Soria Parra
4f2fac9442 Publish with --access public 2024-12-03 18:15:46 +00:00
Justin Spahr-Summers
0da25bea87 Revert --provenance for now 2024-11-25 13:56:36 -06:00
Justin Spahr-Summers
a9c357fa8b Build and publish each JS package separately in CI 2024-11-25 13:41:17 -06:00
Justin Spahr-Summers
aac117f7b3 Only publish on release 2024-11-21 21:56:42 +00:00
Justin Spahr-Summers
4f871840e5 Fix invalid artifact names 2024-11-21 21:53:07 +00:00
Justin Spahr-Summers
d144a53b25 Add CI workflow for Python build + publish 2024-11-21 20:52:40 +00:00
Justin Spahr-Summers
8f45f4a500 Update CI publishing 2024-11-19 14:26:59 +00:00
Justin Spahr-Summers
37415258b9 Initial commit 2024-11-19 13:29:12 +00:00