* Upgrade XO * Update TypeScript-related dependencies — Don't upgrade @sindresorhus/tsconfig to v6 since it requires TS 5.5 and we test with 5.2. * Update dev dependencies * Update dependencies * Rebuild lockfile * Upgrade CodeCov action * Update reporter log instructions and remove deprecation warnings * Make Node.js 22.6 the recommended development version * Remove Node.js 21 from the engines list: It's no longer maintained by Node.js itself, see also <https://github.com/avajs/ava/blob/main/docs/support-statement.md>.
17 lines
606 B
Bash
Executable file
17 lines
606 B
Bash
Executable file
#!/bin/bash
|
|
set -ex
|
|
|
|
# Set environment variable to have the AVA config skip watch mode tests.
|
|
TEST_AVA_SKIP_WATCH_MODE=1 npx c8 --report=none npx test-ava
|
|
|
|
# Reduce concurrency to give watch mode tests a better chance of succeeding in
|
|
# a CI environment.
|
|
npx c8 --report=none --no-clean npx test-ava --serial test/watch-mode
|
|
|
|
# Only run reporter tests on Linux where they're least likely to flake out.
|
|
case "$(uname -s)" in
|
|
Linux*) npx c8 --report=none --no-clean npx tap;;
|
|
*) npx c8 --report=none --no-clean npx tap --exclude="test-tap/reporters/{default,tap}.js"
|
|
esac
|
|
|
|
npx c8 report
|