Skip to content

Commit

Permalink
test: add CODECOV_TOKEN (#119)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
  - Added support for Node.js version 22 in the CI workflow.

- **Chores**
- Removed the email field from the bug reporting section in
`package.json`.
  - Updated project name in the README for consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
fengmk2 authored Jun 2, 2024
1 parent 9e0d6b3 commit 79f495b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: CI
on:
push:
branches: [ master ]

pull_request:
branches: [ master ]

Expand All @@ -13,4 +12,6 @@ jobs:
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
with:
os: 'ubuntu-latest, macos-latest, windows-latest'
version: '14, 16, 18, 20'
version: '14, 16, 18, 20, 22'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cfork
=======
# cfork

[![NPM version][npm-image]][npm-url]
[![Node.js CI](https://github.com/node-modules/cfork/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/cfork/actions/workflows/nodejs.yml)
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
"scripts": {
"test": "mocha -t 15000 test/*.test.js",
"lint": "eslint index.js test",
"ci": "npm run lint && mocha -t 15000 test/*.test.js",
"ci": "npm run lint && c8 mocha -t 15000 test/*.test.js",
"contributor": "git-contributor"
},
"dependencies": {
"utility": "^1.12.0"
},
"devDependencies": {
"c8": "^9.1.0",
"childprocess": "1",
"eslint": "3.12.0",
"git-contributor": "^2.0.0",
Expand All @@ -32,8 +33,7 @@
"web": "https://github.com/node-modules/cfork"
},
"bugs": {
"url": "https://github.com/node-modules/cfork/issues",
"email": "[email protected]"
"url": "https://github.com/node-modules/cfork/issues"
},
"keywords": [
"cluster",
Expand Down

0 comments on commit 79f495b

Please sign in to comment.