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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ jobs:
with:
name: build
- run: npm install --no-package-lock
# npm 6 (shipped with Node 14) ignores `overrides` and nests chokidar@5 under mocha;
# replace it with the CJS-compatible chokidar@4
- run: rm -rf node_modules/mocha/node_modules/chokidar && npm install --no-package-lock --no-save --prefix node_modules/mocha chokidar@^4
- run: npm run test:legacy

smoke-os:
Expand Down
82 changes: 28 additions & 54 deletions package-lock.json

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

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test": "concurrently 'npm:test:lint' 'npm:test:unit' 'npm:test:size' && npm run test:legacy",
"test:lint": "oxlint -c oxlintrc.json src/main/ts src/test/ts",
"test:unit": "c8 -r lcov -r text -o target/coverage -x src/scripts -x src/test -x target node --loader ts-node/esm --experimental-specifier-resolution=node src/scripts/test.mjs",
"test:legacy": "node ./node_modules/mocha/bin/mocha -t 0 -R spec src/test/legacy/test.cjs",
"test:legacy": "mocha -t 0 -R spec src/test/legacy/test.cjs",
"test:size": "size-limit",
"publish:draft": "npm run build && npm publish --no-git-tag-version"
},
Expand Down Expand Up @@ -76,5 +76,8 @@
"type": "git",
"url": "git://github.com/webpod/ps.git"
},
"license": "MIT"
"license": "MIT",
"overrides": {
"chokidar": "^4.0.3"
}
}
Loading
Loading