Skip to content

refactor: update ci for v0.x#7407

Merged
jasonsaayman merged 9 commits intov0.xfrom
refactor/update-ci
Feb 17, 2026
Merged

refactor: update ci for v0.x#7407
jasonsaayman merged 9 commits intov0.xfrom
refactor/update-ci

Conversation

@jasonsaayman
Copy link
Member

@jasonsaayman jasonsaayman commented Feb 17, 2026

Summary by cubic

Refreshes CI and release workflows for v0.x with a single, faster pipeline and a manual publish flow that supports patch/minor and optional beta pre-releases. Adds a small fix to publish.yml to ensure version bumps target v0.x and publish with the correct token.

Description

  • CI: new run-ci.yml builds/tests on Node 12–24, uses npm ci, cancels in-progress runs, and runs Dependency Review on 24.x.
  • Publish: manual patch/minor (optional beta) bumps via npm version, builds, publishes with provenance, and pushes the bump to v0.x on Node 24; actions bumped to v6; fix ensures checkout ref=v0.x and uses NPM_TOKEN.
  • Cleanup: removes legacy workflows (ci, codeql, depsreview, npm-tag, stale); pins dtslint to 4.2.1; updates mise to Node 20.

Docs

  • Consolidates issue templates into ISSUE_TEMPLATE.md with clearer env fields and a CORS note; updates links to main.
  • Updates PR template wording and CONTRIBUTING link.

Testing

  • Stabilizes HTTP adapter test: use an ephemeral port and drop a brittle assertion; no new tests added.
  • CI matrix covers Node 12–24; verified via pipeline.

Written for commit 41a0069. Summary will update on new commits.

@jasonsaayman jasonsaayman changed the title Update ci for v0.x refactor: update ci for v0.x Feb 17, 2026
@jasonsaayman jasonsaayman self-assigned this Feb 17, 2026
@jasonsaayman jasonsaayman added priority::medium A medium priority commit::refactor The PR is related to refactoring labels Feb 17, 2026
@jasonsaayman jasonsaayman requested a review from Copilot February 17, 2026 18:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the CI/CD infrastructure for the v0.x branch of axios, consolidating workflows and updating them to use modern GitHub Actions. The changes streamline the release process with manual publishing controls, expand Node.js version coverage in CI, and fix a flaky test.

Changes:

  • Introduces a new unified CI workflow (run-ci.yml) testing Node 12-24 with build/test steps and dependency review
  • Replaces the publish workflow with a manual trigger supporting patch/minor releases and optional beta versions
  • Adds Husky commit-msg hook for commitlint validation, locks dtslint version to prevent drift, and fixes an HTTP adapter test to use ephemeral ports
  • Removes legacy workflows (ci.yml, codeql-analysis.yml, depsreview.yaml, npm-tag.yml, stale.yml) and consolidates issue templates

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
.github/workflows/run-ci.yml New unified CI workflow with Node 12-24 matrix testing and dependency review
.github/workflows/publish.yml Refactored manual publish workflow with version bump automation
.github/workflows/ci.yml Removed legacy CI workflow
.github/workflows/codeql-analysis.yml Removed CodeQL workflow
.github/workflows/depsreview.yaml Removed standalone dependency review (now in run-ci.yml)
.github/workflows/npm-tag.yml Removed manual NPM tagging workflow
.github/workflows/stale.yml Removed stale issue/PR management workflow
.husky/commit-msg Added Husky hook to run commitlint on commit messages
package.json Locked dtslint to exact version 4.2.1
test/unit/adapters/http.js Fixed flaky test by using ephemeral port (0) and removed brittle error message assertion
.github/ISSUE_TEMPLATE.md Updated branch references from master to main, improved environment fields
.github/ISSUE_TEMPLATE/*.md Removed individual issue templates in favor of consolidated template
.github/PULL_REQUEST_TEMPLATE.md Updated contributing guide link from master to main branch

@jasonsaayman jasonsaayman merged commit 16ae950 into v0.x Feb 17, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit::refactor The PR is related to refactoring priority::medium A medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants