@argos-ci/cli 3.0.10 → 3.1.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.js +7 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -67,6 +67,11 @@ function uploadCommand(program2) {
|
|
|
67
67
|
"--threshold <number>",
|
|
68
68
|
"Sensitivity threshold between 0 and 1. The higher the threshold, the less sensitive the diff will be. Default to 0.5"
|
|
69
69
|
).env("ARGOS_THRESHOLD")
|
|
70
|
+
).addOption(
|
|
71
|
+
new Option2(
|
|
72
|
+
"--skipped",
|
|
73
|
+
"Mark this build as skipped. No screenshots are uploaded, and the commit status is marked as success."
|
|
74
|
+
).env("ARGOS_SKIPPED")
|
|
70
75
|
).action(async (directory, options) => {
|
|
71
76
|
const spinner = ora("Uploading screenshots").start();
|
|
72
77
|
try {
|
|
@@ -85,7 +90,8 @@ function uploadCommand(program2) {
|
|
|
85
90
|
referenceBranch: options.referenceBranch,
|
|
86
91
|
referenceCommit: options.referenceCommit,
|
|
87
92
|
mode: options.mode,
|
|
88
|
-
threshold: options.threshold
|
|
93
|
+
threshold: options.threshold,
|
|
94
|
+
skipped: options.skipped
|
|
89
95
|
});
|
|
90
96
|
spinner.succeed(`Build created: ${result.build.url}`);
|
|
91
97
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argos-ci/cli",
|
|
3
3
|
"description": "Command-line (CLI) for visual testing with Argos.",
|
|
4
|
-
"version": "3.0
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"argos": "./bin/argos-cli.js"
|
|
7
7
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@argos-ci/core": "4.
|
|
37
|
+
"@argos-ci/core": "4.2.0",
|
|
38
38
|
"commander": "^14.0.1",
|
|
39
39
|
"ora": "^9.0.0",
|
|
40
40
|
"update-notifier": "^7.3.1"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"check-format": "prettier --check --ignore-unknown --ignore-path=../../.gitignore --ignore-path=../../.prettierignore .",
|
|
47
47
|
"lint": "eslint ."
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "867a93c5ffc01d55c7385d3ac3903c4c3ab270b6"
|
|
50
50
|
}
|