Skip to content

Commit

Permalink
ci(test): test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jogelin committed Dec 14, 2024
1 parent 9630c19 commit c5ef952
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ env:
NX_POWERPACK_LICENSE: ${{ secrets.NX_POWERPACK_LICENSE }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_PERF_LOGGING: '${{ secrets.ACTIONS_STEP_DEBUG || false }}'
# NX_VERBOSE_LOGGING: '${{ secrets.ACTIONS_STEP_DEBUG || false }}'
NX_VERBOSE_LOGGING: 'true'
NX_VERBOSE_LOGGING: '${{ secrets.ACTIONS_STEP_DEBUG || false }}'

jobs:
main:
Expand Down Expand Up @@ -46,18 +45,11 @@ jobs:
key: ${{ runner.os }}-modules-${{ env.NODE_VERSION }}-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Install packages
# if: steps.cache-modules.outputs.cache-hit != 'true'
if: steps.cache-modules.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile

- 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 affected -t e2e
- run: pnpm nx affected -t lint test build e2e
2 changes: 1 addition & 1 deletion e2e/utils/create-huge-nx-workspace.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function runCommand(command: string, cwd: string): string {
try {
const result = execSync(`${command}${isVerbose() ? ' --verbose' : ''}`, {
cwd,
stdio: 'pipe',
stdio: 'inherit',
env: {
...process.env,
CI: 'true',
Expand Down
2 changes: 1 addition & 1 deletion packages/create-huge-nx/bin/create-huge-nx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function main(parsedArgs: yargs.Arguments<Arguments>) {
bodyLines: [createNxWorkspaceCmd],
});

execSync(createNxWorkspaceCmd, { stdio: 'pipe', env: { ...process.env, NX_DAEMON: 'false' } });
execSync(createNxWorkspaceCmd, { stdio: 'inherit', env: { ...process.env, NX_DAEMON: 'false' } });

output.log({
title: `Successfully applied preset: ${parsedArgs['preset']}`,
Expand Down

0 comments on commit c5ef952

Please sign in to comment.