@argos-ci/core 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -3
  2. 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.GITHUB_REPOSITORY_OWNER) return null;
184
- const [, ...repositoryParts] = env.GITHUB_REPOSITORY_OWNER.split("/");
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.5.0",
4
+ "version": "0.5.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.3",
61
61
  "rollup-plugin-swc3": "^0.6.0"
62
62
  },
63
- "gitHead": "c085c7e514623e54a86b2f311ff988709be391d0"
63
+ "gitHead": "a8a781ba5db26acc5cc18863875c6be4264251bf"
64
64
  }