@argos-ci/core 0.4.0 → 0.4.1
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 +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -179,7 +179,7 @@ const getCiEnvironment = ({ env =process.env } = {})=>{
|
|
|
179
179
|
const ciContext = envCi(ctx);
|
|
180
180
|
const name = ciContext.isCi ? ciContext.name ?? null : ciContext.commit ? "Git" : null;
|
|
181
181
|
const commit = ciContext.commit ?? null;
|
|
182
|
-
const branch = ciContext.branch ?? null;
|
|
182
|
+
const branch = (ciContext.branch || ciContext.prBranch) ?? null;
|
|
183
183
|
return commit ? {
|
|
184
184
|
name,
|
|
185
185
|
commit,
|
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.
|
|
4
|
+
"version": "0.4.1",
|
|
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.2",
|
|
61
61
|
"rollup-plugin-swc3": "^0.3.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "ec7abd2a79de3d185681ff34b5e699c56dd964d1"
|
|
64
64
|
}
|