ci: modernize deployment — replace Travis with GitHub Actions + add RELEASING.md#58
Open
TheRealAgentK wants to merge 4 commits into
Open
ci: modernize deployment — replace Travis with GitHub Actions + add RELEASING.md#58TheRealAgentK wants to merge 4 commits into
TheRealAgentK wants to merge 4 commits into
Conversation
Travis is effectively dead for OSS — replace it with GitHub Actions.
Changes:
- Delete .travis.yml (and remove its entry from .npmignore).
- Add .github/workflows/ci.yml with three jobs:
* test: lint + build + ember test on Node 20
* floating-deps: same with no lockfile (latest matching versions)
* try-scenarios: ember-try matrix mirroring the old Travis matrix
(lts-4.4.5, lts-4.8.6, lts-4.12.3, release,
default-with-jquery, classic; beta/canary
allowed-to-fail). Triggered on every PR and on
pushes to main/master.
- Update README.md badge: Travis → GitHub Actions.
- Update AGENTS.md §5 to point at the new workflow file.
- Update AGENTS.md §9 to reference the new RELEASING.md.
- Update .npmignore to exclude .github/, AGENTS.md, RELEASING.md from
the published tarball (verified via npm pack --dry-run: still 10
files, same as before).
Documents the manual release workflow for ember-cli-raygun, since this package is distributed via npm (npmjs.com/package/ember-cli-raygun) and GitHub holds source only — there's no other host or registry to push to. Covers: - prerequisites (npm publish access, npm login, 2FA) - semver guidance (patch/minor/major decision) - step-by-step release commands (npm version → git push → npm publish → GitHub Release) - what gets published (per .npmignore) and how to preview with npm pack --dry-run - a pre-flight checklist - recovery steps if a bad version goes out (unpublish window / deprecate + follow-up) - a forward-looking note on automating publish via a tag-triggered GitHub Actions workflow with NPM_TOKEN, if/when there's appetite. Referenced from AGENTS.md §9.
Two CI matrix entries were failing legitimately: 1. ember-classic — the Ember Classic edition was removed from Ember itself (deprecations.emberjs.com/v3.x/#toc_editions-classic), so the scenario can never pass on a modern Ember version. Removed from both config/ember-try.js and the GitHub Actions matrix. 2. ember-release — currently pulls Ember 6.x. The addon is pinned to the Ember 4.12 line and the 5/6 jump is tracked separately (mentioned in PR #55), so this scenario will fail until that work is done. Moved from the hard-required matrix to the allow-failure list (alongside ember-beta and ember-canary).
Same situation as ember-classic in the previous commit: the 'jquery-integration' optional feature was removed in Ember 4.0 (deprecations.emberjs.com/v3.x/#toc_optional-feature-jquery-integration). The addon targets Ember 4.12, so this scenario can never pass. Removed from both config/ember-try.js and the GitHub Actions matrix. Hard-required matrix is now LTS-only: ember-lts-4.4.5, 4.8.6, 4.12.3. Allow-failure: ember-release, ember-beta, ember-canary.
ProRedCat
approved these changes
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on top of #55 — please merge that one first; then this PR's diff against
mainwill become small and self-contained.Modernises the deployment story:
RELEASING.md, since this package is distributed via npm and there's no other host to push to.No source-code changes — only CI config and docs.
Verification
Locally on this branch:
npm run lint— cleannpx ember build— succeedsnpx ember test— 27/27 passingnpm pack --dry-run— same 10 files as before; no CI configs, AGENTS.md, or RELEASING.md leak into the npm tarballjs-yamlparses.github/workflows/ci.ymlcleanly; jobs:test,floating-deps,try-scenariosIn CI on this PR: all hard-required jobs are green (
Lint, Build, Test,Floating Dependencies, and the three pinned-EmberTry:scenarios).Commits
ci: migrate from Travis CI to GitHub ActionsDelete .travis.yml (and remove its entry from
.npmignore).Add
.github/workflows/ci.ymlwith three jobs:testmain/masternpm ci→npm run lint→npm run build→npm run test:emberon Node 20floating-depsmain/masternpm install --no-package-lockto catch breakage from latest matching versionstry-scenariostestpassesConcurrency is set so a new push to a PR branch cancels the previous in-flight run.
try-scenariosmatrix:ember-lts-4.4.5ember-lts-4.8.6ember-lts-4.12.3ember-releaseallow-failure: trueember-betaallow-failure: trueember-canaryallow-failure: trueThe three pinned LTS lines are hard-required.
release/beta/canaryareallow-failure: truebecause the addon is currently pinned to the Ember 4.12 line; the Ember 5/6 jump is tracked separately and will inevitably break those scenarios until that work lands.Removed scenarios (vs. the old
config/ember-try.js):ember-classic— the Ember Classic edition was removed from Ember itself, so the scenario can never pass on a modern Ember version. See deprecations.emberjs.com/v3.x/#toc_editions-classic.ember-default-with-jquery— thejquery-integrationoptional feature was removed in Ember 4.0. See deprecations.emberjs.com/v3.x/#toc_optional-feature-jquery-integration.Both are also dropped from
config/ember-try.jswith explanatory comments.Update README.md badge: Travis → GitHub Actions.
Update AGENTS.md §5 (CI section) and §9 (release section).
Update
.npmignoreto exclude.github/,AGENTS.md,RELEASING.mdfrom the published tarball.docs: add RELEASING.md describing the publish processNew file documenting:
npm login, 2FA).npm version→git push --follow-tags→npm publish→ GitHub Release..npmignore) and how to preview withnpm pack --dry-run.npm unpublishwindow vs. patch-and-deprecate).NPM_TOKEN, if/when there's appetite.Referenced from AGENTS.md §9.
Things that are deliberately not in this PR
RELEASING.mdas a future improvement — would require anNPM_TOKENsecret and ownership conversation. Easy follow-up once we're sure the manual flow is right..github/dependabot.ymlis being added — relying on GitHub's defaults.ember-releaseback to a hard requirement. Will happen as part of the Ember 5/6 migration work.