8000 Release: Only run browserless tests during the release · jquery/jquery@fb5ab0f · GitHub
[go: up one dir, main page]

Skip to content

Commit fb5ab0f

Browse files
authored
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
1 parent f21a6ea commit fb5ab0f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build/release/pre-release.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ npm run release:clean
1212
# Check authors
1313
npm run authors:check
1414

15-
# Run tests
16-
# Temporarily disable running tests on release due to flakiness in Chrome
17-
# npm test
15+
# Run browserless tests
16+
npm run build:all
17+
npm run lint
18+
npm run test:browserless
1819

1920
# Clone dist and cdn repos to the tmp/release directory
2021
mkdir -p tmp/release

0 commit comments

Comments
 (0)
0