From 26ac964faafaa462d4bfc424070a0f0e526c801b Mon Sep 17 00:00:00 2001 From: Jonathan Gelin Date: Sat, 14 Dec 2024 08:26:55 +0100 Subject: [PATCH] ci(test): test ci --- .github/workflows/ci.yml | 9 ++++++++- e2e/utils/create-huge-nx-workspace.utils.ts | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a93bf1d..c2a7dda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,13 @@ jobs: - uses: nrwl/nx-set-shas@v4 + - name: Debug Node.js and npm + run: | + node --version + npm --version + which npm + which npx + - run: pnpm nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after=e2e -# - run: pnpm nx-cloud record -- nx format:check + - run: pnpm nx-cloud record -- nx format:check - run: pnpm nx affected -t e2e diff --git a/e2e/utils/create-huge-nx-workspace.utils.ts b/e2e/utils/create-huge-nx-workspace.utils.ts index 1639a09..15dff7d 100644 --- a/e2e/utils/create-huge-nx-workspace.utils.ts +++ b/e2e/utils/create-huge-nx-workspace.utils.ts @@ -32,7 +32,8 @@ export function createHugeNxWorkspace( return runCommand(command, tmpE2eRoot); } -export const tmpE2eRoot = isCI ? dirSync({ prefix: 'huge-nx-e2e-' }).name : join(`${workspaceRoot}/tmp/huge-nx-e2e`); +// export const tmpE2eRoot = isCI ? dirSync({ prefix: 'huge-nx-e2e-' }).name : join(`${workspaceRoot}/tmp/huge-nx-e2e`); +export const tmpE2eRoot = join(`${workspaceRoot}/tmp/huge-nx-e2e`); export const getWsName = (hugeNxConventions: string, nxVersion = 'latest') => { const wsName = hugeNxConventions.split('/')?.pop()?.replace('.conventions.ts', `-${nxVersion}`);