@argos-ci/core 0.5.0 → 0.6.0
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.mjs +2 -3
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -180,9 +180,8 @@ function getBranch({ env }) {
|
|
|
180
180
|
return null;
|
|
181
181
|
}
|
|
182
182
|
function getRepository({ env }) {
|
|
183
|
-
if (!env.
|
|
184
|
-
|
|
185
|
-
return repositoryParts.join("/");
|
|
183
|
+
if (!env.GITHUB_REPOSITORY) return null;
|
|
184
|
+
return env.GITHUB_REPOSITORY.split("/")[1];
|
|
186
185
|
}
|
|
187
186
|
const service = {
|
|
188
187
|
detect: ({ env })=>Boolean(env.GITHUB_ACTIONS),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argos-ci/core",
|
|
3
3
|
"description": "Visual testing solution to avoid visual regression. The core component of Argos SDK that handles build creation.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prebuild": "rm -rf dist",
|
|
7
7
|
"build": "rollup -c",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"rollup-plugin-dts": "^4.2.3",
|
|
61
61
|
"rollup-plugin-swc3": "^0.6.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "b4651fc030328c04b15a62fa206a20dff1bbe0ec"
|
|
64
64
|
}
|