@cypress/github-action 5.8.2 → 5.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -74457,8 +74457,6 @@ const useYarn = () => fs.existsSync(yarnFilename)
74457
74457
  const usePnpm = () => fs.existsSync(pnpmLockFilename)
74458
74458
  const useNpm = () => fs.existsSync(packageLockFilename)
74459
74459
 
74460
- const runPrefix = useYarn() ? 'yarn' : 'npx'
74461
-
74462
74460
  const lockHash = () => {
74463
74461
  const lockFilename = useYarn()
74464
74462
  ? yarnFilename
@@ -74637,9 +74635,9 @@ const listCypressBinaries = () => {
74637
74635
  }
74638
74636
 
74639
74637
  core.exportVariable('CYPRESS_CACHE_FOLDER', CYPRESS_CACHE_FOLDER)
74640
- return io.which(runPrefix, true).then((runPath) => {
74638
+ return io.which('npx', true).then((npxPath) => {
74641
74639
  return exec.exec(
74642
- quote(runPath),
74640
+ quote(npxPath),
74643
74641
  ['cypress', 'cache', 'list'],
74644
74642
  cypressCommandOptions
74645
74643
  )
@@ -74656,9 +74654,9 @@ const verifyCypressBinary = () => {
74656
74654
  }
74657
74655
 
74658
74656
  core.exportVariable('CYPRESS_CACHE_FOLDER', CYPRESS_CACHE_FOLDER)
74659
- return io.which(runPrefix, true).then((runPath) => {
74657
+ return io.which('npx', true).then((npxPath) => {
74660
74658
  return exec.exec(
74661
- quote(runPath),
74659
+ quote(npxPath),
74662
74660
  ['cypress', 'verify'],
74663
74661
  cypressCommandOptions
74664
74662
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cypress/github-action",
3
- "version": "5.8.2",
3
+ "version": "5.8.3",
4
4
  "description": "GitHub Action for running Cypress end-to-end and component tests",
5
5
  "private": false,
6
6
  "main": "dist/index.js",