- Added the
test-result-path
parameter to thejest/test
job. This value is passed to CircleCI'sstore_test_results
command, which displays test results inside the UI. Check out their documentation for details on configuring your test suite.
Version 1.0.0 represents the first stable major release of this orb.
Breaking Changes from pre-1.0.0 releases:
- This orb now uses the upstream circleci/node orb to cache
dependencies from the specified
package-manager
between job runs. This should speed up your dependency installation time! You can opt-out of this behavior by setting thepackage-manager-cache
parameter tofalse
. - There is now first-class support for using
yarn
instead ofnpm
. To use yarn, set thepackage-manager
parameter toyarn
if you're using yarn v1 (a.k.a yarn classic) oryarn-berry
for yarn v2 or newer.- If you're using
yarn
oryarn-berry
as your package manager, we'll useyarn jest
instead ofnpx --no-install jest
by default. You can override this command via thejest-command-override
parameter. - If you're using
yarn
as your package manager, we'll useyarn install --frozen-lockfile
by default to install dependencies. You can override this command via thepackage-manager-install-command-override
parameter. - If you're using
yarn-berry
as your package manager, we'll useyarn install --immutable
by default to install dependencies. You can override this command via thepackage-manager-install-command-override
parameter.
- If you're using
- The
jest-command
parameter was renamed tojest-command-override
. - The
npm-install-command
parameter was renamed topackage-manager-install-command-override
.