@percy/env 1.30.5-beta.0 → 1.31.0-alpha.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.
@@ -201,10 +201,13 @@ export class PercyEnv {
201
201
  // parallel total & nonce
202
202
  get parallel() {
203
203
  let total = parseInt(this.vars.PERCY_PARALLEL_TOTAL, 10);
204
- if (this.ci === 'circle') {
205
- total = parseInt(this.vars.CIRCLE_NODE_TOTAL, 10);
206
- }
207
204
  if (!Number.isInteger(total)) total = null;
205
+ if (total === null) {
206
+ switch (this.ci) {
207
+ case 'circle':
208
+ total = parseInt(this.vars.CIRCLE_NODE_TOTAL, 10);
209
+ }
210
+ }
208
211
 
209
212
  // no nonce if no total
210
213
  let nonce = total && (_this$vars$BUILD_TAG => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/env",
3
- "version": "1.30.5-beta.0",
3
+ "version": "1.31.0-alpha.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public",
12
- "tag": "beta"
12
+ "tag": "alpha"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14"
@@ -32,7 +32,7 @@
32
32
  "test:coverage": "yarn test --coverage"
33
33
  },
34
34
  "dependencies": {
35
- "@percy/logger": "1.30.5-beta.0"
35
+ "@percy/logger": "1.31.0-alpha.0"
36
36
  },
37
- "gitHead": "46870b6b3259c3770ca2c5563ca9ad8f1d725681"
37
+ "gitHead": "c53d22eed0481ebf681db4390a575ee094003a9a"
38
38
  }