Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions .autod.conf.js

This file was deleted.

16 changes: 9 additions & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
name: Continuous integration
on:
push:
branches: [ '**' ]
branches: [ master ]
pull_request:
branches: [ '**' ]
branches: [ master ]
merge_group:
jobs:
Runner:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
node-version: [ 16, 18, 20, 22 ]
# use windows-2022, avoid error: 'wmic' is not recognized as an internal or external command
os: [ ubuntu-latest, macos-latest, windows-2022 ]
node-version: [ 16, 18, 20, 22, 24 ]
steps:
- name: Checkout Git Source
uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -26,8 +28,8 @@ jobs:

- name: Continuous integration on win32
run: npm run test
if: ${{ matrix.os == 'windows-latest' }}
if: ${{ matrix.os == 'windows-2022' }}

- name: Continuous integration on linux & darwin
run: npm run ci
if: ${{ matrix.os != 'windows-latest' }}
if: ${{ matrix.os != 'windows-2022' }}
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release
on:
push:
branches: [ master ]

permissions:
contents: write
deployments: write
issues: write
pull-requests: write
id-token: write

jobs:
release:
name: NPM
uses: X-Profiler/github-actions/.github/workflows/npm-release.yml@master
secrets:
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@ The agent that can collect or transfer xprofiler's performance logs.

## I. License

[BSD-2-Clause](LICENSE)
[BSD-2-Clause](LICENSE)

## Contributors

[![Contributors](https://contrib.rocks/image?repo=X-Profiler/xtransit)](https://github.com/X-Profiler/xtransit/graphs/contributors)

Made with [contributors-img](https://contrib.rocks).
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
"test-single": "mocha -t 0 -R spec",
"cov": "nyc --reporter=html --reporter=text --reporter=lcov mocha -R spec test/*.test.js --timeout 0",
"cov-single": "nyc --reporter=html --reporter=text --reporter=lcov mocha --timeout 0 -R spec",
"ci": "npm run lint && npm run cov",
"release": "node scripts/release.js",
"autod": "autod"
"ci": "npm run lint && npm run cov"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -54,7 +52,6 @@
"ws": "^8.18.0"
},
"devDependencies": {
"autod": "^3.1.0",
"eslint": "^8.57.1",
"eslint-config-egg": "^14.0.0",
"expect.js": "^0.3.1",
Expand Down
26 changes: 0 additions & 26 deletions scripts/release.js

This file was deleted.