aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/miscs/miscs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/miscs/miscs.ts')
-rw-r--r--shared/extra-utils/miscs/miscs.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/extra-utils/miscs/miscs.ts b/shared/extra-utils/miscs/miscs.ts
index 6a73f461e..dfd6e28cb 100644
--- a/shared/extra-utils/miscs/miscs.ts
+++ b/shared/extra-utils/miscs/miscs.ts
@@ -66,8 +66,8 @@ async function testImage (url: string, imageName: string, imagePath: string, ext
66function buildAbsoluteFixturePath (path: string, customCIPath = false) { 66function buildAbsoluteFixturePath (path: string, customCIPath = false) {
67 if (isAbsolute(path)) return path 67 if (isAbsolute(path)) return path
68 68
69 if (customCIPath) { 69 if (customCIPath && process.env.GITHUB_WORKSPACE) {
70 return join(process.env.HOME, 'fixtures', path) 70 return join(process.env.GITHUB_WORKSPACE, 'fixtures', path)
71 } 71 }
72 72
73 return join(root(), 'server', 'tests', 'fixtures', path) 73 return join(root(), 'server', 'tests', 'fixtures', path)