diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 41e42614..3afc3955 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,7 @@ concurrency: jobs: lint: + if: false runs-on: ubuntu-latest steps: @@ -34,6 +35,7 @@ jobs: run: npm run lint integration: + if: false runs-on: ubuntu-latest steps: - name: Checkout @@ -62,6 +64,7 @@ jobs: run: npm run test build-windows-bundle: + if: false runs-on: windows-latest needs: [lint, integration] steps: @@ -115,7 +118,7 @@ jobs: build-mac-bundle: # macos-latest is arm only runs-on: macos-13 - needs: [lint, integration] +# needs: [lint, integration] steps: - name: Checkout uses: actions/checkout@v4 @@ -163,6 +166,7 @@ jobs: gsutil cp ./cypress-macos-amd64.zip gs://${{ secrets.GCS_RUNNER_BUCKET }}/cypress-macos-amd64-${{ github.run_id }}.zip bundle-test: + if: false needs: [build-windows-bundle, build-mac-bundle] strategy: max-parallel: 3 @@ -207,6 +211,7 @@ jobs: --select-suite "Cypress - ${{ matrix.os }} - ${{ matrix.browser }}" bundle-tests-with-sc: + if: false needs: [build-windows-bundle, build-mac-bundle] strategy: max-parallel: 3 @@ -268,6 +273,7 @@ jobs: --tunnel-name github-cypress-sc-check-tunnel-${{ matrix.os }}-${{ matrix.browser }} bundle-test-modules: + if: false needs: [build-windows-bundle, build-mac-bundle] strategy: max-parallel: 2 diff --git a/package-lock.json b/package-lock.json index 5e33497f..c1fa91c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "lodash": "4.17.21", "mkdirp": "^3.0.1", "playwright-webkit": "1.47.2", - "sauce-testrunner-utils": "3.2.0", + "sauce-testrunner-utils": "3.2.1-alpha.1", "typescript": "5.6.2", "webpack": "5.94.0", "xml-js": "^1.6.11", @@ -15361,9 +15361,9 @@ "license": "MIT" }, "node_modules/sauce-testrunner-utils": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/sauce-testrunner-utils/-/sauce-testrunner-utils-3.2.0.tgz", - "integrity": "sha512-hcU+7JSBdJeS5pdv6XdB6+Je4mEIKodBGY0ng4ANRwjsT0a95Qnwj7OXz9a775+ZrcL957dvMJGtn45QqlLjRw==", + "version": "3.2.1-alpha.1", + "resolved": "https://registry.npmjs.org/sauce-testrunner-utils/-/sauce-testrunner-utils-3.2.1-alpha.1.tgz", + "integrity": "sha512-Cwo0FovEzBfdKaPOfQXlzsI+lDlNn35TmF4+66tc5BGCOM/kJLXS37BHqRloJQvpOTWEnt0Wilum2D+yMX1aTg==", "license": "MIT", "dependencies": { "lodash": "^4.17.21", diff --git a/package.json b/package.json index 05ae1f10..81bf4d19 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "lodash": "4.17.21", "mkdirp": "^3.0.1", "playwright-webkit": "1.47.2", - "sauce-testrunner-utils": "3.2.0", + "sauce-testrunner-utils": "3.2.1-alpha.1", "typescript": "5.6.2", "webpack": "5.94.0", "xml-js": "^1.6.11", diff --git a/src/cypress-runner.ts b/src/cypress-runner.ts index b4274c54..18942ba2 100644 --- a/src/cypress-runner.ts +++ b/src/cypress-runner.ts @@ -278,6 +278,8 @@ async function cypressRunner( useGlobals: !!runCfg.nodeVersion, }; + process.env.npm_config_timing = 'true'; + process.env.npm_config_package_lock = 'true'; await prepareNpmEnv(runCfg, nodeCtx); const cypressOpts = getCypressOpts(runCfg, suiteName); const suites = runCfg.suites || [];