Release: Only run browserless tests during the release

`npm test` is susceptible to any flakiness in tests, making releases less
predictable. Our process requires us to check CI before releases or run
`npm test` manually if there are issues with that, we don't need to repeat it
all during the release process.

In addition to that, currently the whole pre-release part is silent and the full
`npm test` takes a long time to finish while no feedback is presented to the
person running the release. It will be more bearable with just browserless
tests.

Closes gh-5689
This commit is contained in:
Michał Gołębiowski-Owczarek
2025-08-11 17:47:14 +02:00
committed by GitHub
parent f21a6ea6b5
commit fb5ab0f546

View File

@@ -12,9 +12,10 @@ npm run release:clean
# Check authors
npm run authors:check
# Run tests
# Temporarily disable running tests on release due to flakiness in Chrome
# npm test
# Run browserless tests
npm run build:all
npm run lint
npm run test:browserless
# Clone dist and cdn repos to the tmp/release directory
mkdir -p tmp/release