@release-change/ci 0.1.0 → 0.1.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-usable-ci-environment.d.ts","sourceRoot":"","sources":["../src/is-usable-ci-environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"is-usable-ci-environment.d.ts","sourceRoot":"","sources":["../src/is-usable-ci-environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAKtD;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,GAAI,SAAS,OAAO,KAAG,OAsBxD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { inspect } from "node:util";
|
|
2
1
|
import { setLogger } from "@release-change/logger";
|
|
2
|
+
import { deepInspectObject } from "@release-change/shared";
|
|
3
3
|
/**
|
|
4
4
|
* Checks whether the CI environment is usable for the run to proceed.
|
|
5
5
|
* A usable CI environment does not provide any context when the run is triggered by a pull request.
|
|
@@ -14,7 +14,7 @@ export const isUsableCiEnvironment = (context) => {
|
|
|
14
14
|
logger.setScope("ci");
|
|
15
15
|
if (config.debug) {
|
|
16
16
|
logger.setDebugScope("ci:is-usable-ci-environment");
|
|
17
|
-
logger.logDebug(
|
|
17
|
+
logger.logDebug(deepInspectObject(ci));
|
|
18
18
|
}
|
|
19
19
|
if (isCi && isPullRequest) {
|
|
20
20
|
logger.logWarn("This run is triggered by a pull request; therefore, a new version will not be published.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-usable-ci-environment.js","sourceRoot":"","sources":["../src/is-usable-ci-environment.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"is-usable-ci-environment.js","sourceRoot":"","sources":["../src/is-usable-ci-environment.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAgB,EAAW,EAAE;IACjE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAC/B,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,CAAC;IACnC,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACtB,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;QACjB,MAAM,CAAC,aAAa,CAAC,6BAA6B,CAAC,CAAC;QACpD,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC;IACzC,CAAC;IACD,IAAI,IAAI,IAAI,aAAa,EAAE,CAAC;QAC1B,MAAM,CAAC,OAAO,CACZ,0FAA0F,CAC3F,CAAC;QACF,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC;QACrB,MAAM,CAAC,OAAO,CACZ,8FAA8F,CAC/F,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@release-change/ci",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Get environment variables related to the CI",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/release-change/release-change",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"pnpm": ">=10.28.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@release-change/
|
|
31
|
-
"@release-change/
|
|
32
|
-
"@release-change/
|
|
30
|
+
"@release-change/config": "0.1.2",
|
|
31
|
+
"@release-change/logger": "0.1.2",
|
|
32
|
+
"@release-change/shared": "0.1.2"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsc",
|