egg/.github/workflows/nodejs.yml
fengmk2 9bf5f22bfa
feat: use utility@2 (#5312)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **Chores**
	- Updated Node.js versions in CI workflows to include version 22.
- Removed an unused parameter in the release workflow to streamline
operations.

- **Refactor**
- Improved code efficiency in HTTP client by using destructured imports.

- **Documentation**
- Updated software dependencies in `package.json` to enhance
functionality and compatibility.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-05-08 15:36:27 +08:00

18 lines
371 B
YAML

name: CI
on:
push:
branches: [ master, 2.x, 1.x ]
pull_request:
branches: [ master, 2.x, 1.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'
install: 'npm i -g npminstall && npminstall'