From 6c5cdd8dcc59731e34a96877c6e6e6eea0a528b4 Mon Sep 17 00:00:00 2001 From: Alex Plischke Date: Thu, 10 Oct 2024 14:22:16 -0700 Subject: [PATCH 1/6] deps: bump sauce-runner-utils --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5e33497f..e3444817 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.0", "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.0", + "resolved": "https://registry.npmjs.org/sauce-testrunner-utils/-/sauce-testrunner-utils-3.2.1-alpha.0.tgz", + "integrity": "sha512-vGfgK4Tu/gK/sHdSRT6w7bM3QEPdQmnlR0bRBT+dOZoFLIxqDv2MToJEfn/SXSXpfReKmvqsWppK69rb3A8v0w==", "license": "MIT", "dependencies": { "lodash": "^4.17.21", diff --git a/package.json b/package.json index 05ae1f10..b935f2b9 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.0", "typescript": "5.6.2", "webpack": "5.94.0", "xml-js": "^1.6.11", From dc438033439c0fe3894bff53bcaea27ac97c85ce Mon Sep 17 00:00:00 2001 From: Alex Plischke Date: Thu, 10 Oct 2024 15:01:07 -0700 Subject: [PATCH 2/6] skip some jobs --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 41e42614..80b86c7b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -163,6 +163,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 +208,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 +270,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 From 7b41f0657a5eb9629e79a6d412638bd5586f54b3 Mon Sep 17 00:00:00 2001 From: Alex Plischke Date: Thu, 10 Oct 2024 15:01:56 -0700 Subject: [PATCH 3/6] deps: bump --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index e3444817..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.1-alpha.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.1-alpha.0", - "resolved": "https://registry.npmjs.org/sauce-testrunner-utils/-/sauce-testrunner-utils-3.2.1-alpha.0.tgz", - "integrity": "sha512-vGfgK4Tu/gK/sHdSRT6w7bM3QEPdQmnlR0bRBT+dOZoFLIxqDv2MToJEfn/SXSXpfReKmvqsWppK69rb3A8v0w==", + "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 b935f2b9..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.1-alpha.0", + "sauce-testrunner-utils": "3.2.1-alpha.1", "typescript": "5.6.2", "webpack": "5.94.0", "xml-js": "^1.6.11", From ec0c1038383400b3bddc4dd9b0cc2a0b072e7ede Mon Sep 17 00:00:00 2001 From: Alex Plischke Date: Thu, 10 Oct 2024 15:29:51 -0700 Subject: [PATCH 4/6] turn on npm timing --- .github/workflows/test.yml | 5 ++++- src/cypress-runner.ts | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80b86c7b..4490502b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,7 @@ concurrency: jobs: lint: + if: f 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 diff --git a/src/cypress-runner.ts b/src/cypress-runner.ts index b4274c54..98db7536 100644 --- a/src/cypress-runner.ts +++ b/src/cypress-runner.ts @@ -278,6 +278,7 @@ async function cypressRunner( useGlobals: !!runCfg.nodeVersion, }; + process.env.npm_config_timing = 'true'; await prepareNpmEnv(runCfg, nodeCtx); const cypressOpts = getCypressOpts(runCfg, suiteName); const suites = runCfg.suites || []; From 7dd4256a6b3f9b5c6139989df3a5f4e0e70aff9a Mon Sep 17 00:00:00 2001 From: Alex Plischke Date: Thu, 10 Oct 2024 15:32:48 -0700 Subject: [PATCH 5/6] typo --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4490502b..3afc3955 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ concurrency: jobs: lint: - if: f + if: false runs-on: ubuntu-latest steps: From 45ae20835a5dd89de174e4dbaaf19c0d7cbce038 Mon Sep 17 00:00:00 2001 From: Alex Plischke Date: Thu, 10 Oct 2024 16:49:23 -0700 Subject: [PATCH 6/6] inspect package-lock --- src/cypress-runner.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cypress-runner.ts b/src/cypress-runner.ts index 98db7536..18942ba2 100644 --- a/src/cypress-runner.ts +++ b/src/cypress-runner.ts @@ -279,6 +279,7 @@ async function cypressRunner( }; 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 || [];