Skip to content
Open
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
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
node-version: ['22.17.0', '22', '24']
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -36,7 +40,7 @@ jobs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
cache: npm
node-version: '24'
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci
Expand All @@ -47,3 +51,4 @@ jobs:
npm run build
npm test
node ./dist/bin/trace-engine-cli.js test/fixtures/basic-trace.json > /dev/null
node ./dist/bin/trace-engine-cli.js scan 'test/fixtures/*.json' --name RunTask > /dev/null
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Raw Chromium performance traces are massive (often 20MB–200MB+ uncompressed),

## Installation

Requires Node.js 22.17 or later.

Install [`trace-engine-cli`](https://www.npmjs.com/package/trace-engine-cli) globally from npm to add `trace-engine-cli` to your `$PATH`:

```bash
Expand Down
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.2.0",
"description": "CLI tool for inspecting Chromium performance traces on top of DevTools Trace Engine",
"type": "module",
"engines": {
"node": ">=22.17.0"
},
"bin": {
"trace-engine-cli": "./dist/bin/trace-engine-cli.js"
},
Expand Down
Loading