Skip to content

Commit

Permalink
fix(repo): remove npx cache before e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Oct 7, 2022
1 parent 12dab1c commit c8af308
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/e2e-build-package-publish.ts
Expand Up @@ -15,12 +15,14 @@ async function buildPackagePublishAndCleanPorts() {
> NX_E2E_SKIP_BUILD_CLEANUP - saves time by reusing the previously built local packages
> CI - simulate the CI environment settings
If you change create-nx-workspace or create-nx-plugin, make sure to remove your npx cache.
If you change create-nx-workspace or create-nx-plugin, make sure to run "npx clear-npx-cache" to remove your npx cache.
Otherwise the changes won't be reflected in the tests.
If your e2e tests fail when trying to create a workspace, remove your npx cache.
If your e2e tests fail when trying to create a workspace, run "npx clear-npx-cache" to remote your npx cache.
\n`)
);
} else {
execSync('npx clear-npx-cache');
}
await Promise.all([
remove('./build'),
Expand Down

0 comments on commit c8af308

Please sign in to comment.