Skip to content

Commit

Permalink
chore: update Node.js versions and dependencies, remove Q, add codecov
Browse files Browse the repository at this point in the history
- Updated GitHub Actions to use Node.js version 22.x for publish and test
- Replaced Node.js 16.x with 22.x in test workflow matrix
- Removed Q library and refactored code to use native Promises
- Replaced coveralls with codecov in coverage reporting
- Updated dependencies in package.json:
  - Upgraded cheerio, honkit, mkdirp, and winston versions
  - Replaced coveralls with codecov for coverage reporting
  - Upgraded nyc to ^17.x

Signed-off-by: Huang Rui <vowstar@gmail.com>
  • Loading branch information
vowstar committed Oct 28, 2024
1 parent 77c25cb commit dafa00e
Show file tree
Hide file tree
Showing 5 changed files with 2,031 additions and 1,497 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Publish to npm
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: npm -v && node -v
- run: npm install && npm install --only=dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
os:
- ubuntu-latest
node-version:
- 16.x
- 18.x
- 20.x
- 22.x
steps:
- name: 'Set up Node.js ${{ matrix.node-version }}'
uses: actions/setup-node@v1
Expand Down
Loading

0 comments on commit dafa00e

Please sign in to comment.