@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.
- package/dist/index.js +4 -6
- 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(
|
|
74638
|
+
return io.which('npx', true).then((npxPath) => {
|
|
74641
74639
|
return exec.exec(
|
|
74642
|
-
quote(
|
|
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(
|
|
74657
|
+
return io.which('npx', true).then((npxPath) => {
|
|
74660
74658
|
return exec.exec(
|
|
74661
|
-
quote(
|
|
74659
|
+
quote(npxPath),
|
|
74662
74660
|
['cypress', 'verify'],
|
|
74663
74661
|
cypressCommandOptions
|
|
74664
74662
|
)
|