Skip to content

chore(test-deps): bump [email protected], [email protected], [email protected] - #221

Merged
petruki merged 3 commits into
masterfrom
staging
Sep 6, 2026
Merged

chore(test-deps): bump [email protected], [email protected], [email protected]#221
petruki merged 3 commits into
masterfrom
staging

Conversation

@petruki

@petruki petruki commented Sep 6, 2026

Copy link
Copy Markdown
Member

This pull request updates dependencies, improves CI workflows, and adds new test coverage. The main changes include upgrading GitHub Actions and related dependencies, optimizing npm install steps, introducing compatibility for older Node.js versions, and adding unit tests for the FetchFacade utility.

CI/CD and Dependency Upgrades:

  • Upgraded GitHub Actions used in workflow files (actions/checkout, actions/setup-node, actions/github-script, sonarsource/sonarqube-scan-action) to their latest major versions for improved security and compatibility. [1] [2] [3] [4] [5] [6] [7]
  • Updated devDependencies in package.json to the latest versions, including @typescript-eslint/*, c8, eslint, mocha, and sinon.
  • Added mocha-compat as an optional dependency to enable compatibility testing with older Node.js versions.

Workflow and Install Optimization:

  • Changed all npm install steps in workflows to use npm install --omit=optional for faster, leaner installs, except for Node.js 16.x/18.x in matrix builds, where regular install is retained for compatibility. [1] [2] [3] [4] [5]
  • Introduced conditional logic in workflow matrix builds to run compatibility tests (test-compat using mocha-compat) for Node.js 16.x/18.x, and standard tests for newer versions.
  • Added a test-compat npm script to run tests using mocha-compat for legacy Node.js support.

Testing Improvements:

  • Added comprehensive unit tests for FetchFacade in tests/utils/fetchFacade.test.js, covering HTTP/HTTPS requests, request body handling, response status, and error scenarios.
  • Improved integration test reliability by using environment variables for the Switcher API URL and making the availability check asynchronous with better error reporting. [1] [2] [3]

Other:

  • Removed the version field from .devcontainer/docker-compose.yml for Docker Compose compatibility.

@petruki petruki added this to the v4.6.0 milestone Sep 6, 2026
@petruki petruki self-assigned this Sep 6, 2026
@petruki petruki added enhancement New feature or request dependencies Pull requests that update a dependency file labels Sep 6, 2026
@sonarqubecloud

sonarqubecloud Bot commented Sep 6, 2026

Copy link
Copy Markdown

@petruki
petruki merged commit 9caed45 into master Sep 6, 2026
23 of 24 checks passed
@petruki
petruki deleted the staging branch September 6, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant