egg/.github/workflows/nodejs-3.x.yml
fengmk2 e4f7069904
feat: use urllib@4.5.0 (#5371)
auto fallback to urllib@3 when require urllib4 error

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Expanded CI workflow to include Node.js version 23 for testing.
- Enhanced `HttpClientNext` class with improved error handling and
configuration management.
- Added support for HTTP/2 functionality in the test suite, including
self-signed certificate handling.

- **Bug Fixes**
- Improved error handling for library imports based on Node.js versions.

- **Chores**
	- Updated dependency versions in `package.json`. 
- Modified HTTP client configuration to include a new `connect`
property.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-30 21:35:55 +08:00

19 lines
419 B
YAML

name: CI for 3.x
on:
push:
branches: [ 3.x ]
pull_request:
branches: [ 3.x ]
jobs:
Job:
name: Node.js
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
with:
os: 'ubuntu-latest, macos-latest, windows-latest'
version: '14, 16, 18, 20, 22, 23'
install: 'npm i -g npminstall && npminstall'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}