Skip to content

Commit

Permalink
ci-parser: Detect node-test-commit-light.
Browse files Browse the repository at this point in the history
Fixes: nodejs#170
  • Loading branch information
priyank-p committed Feb 10, 2018
1 parent a060317 commit 209eab1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/ci.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const LIBUV = 'LIBUV';
const NOINTL = 'NOINTL';
const V8 = 'V8';
const LINTER = 'LINTER';
const LITE = 'LITE';

const CI_TYPES = new Map([
[CITGM, { name: 'CITGM', re: /citgm/ }],
Expand All @@ -22,7 +23,8 @@ const CI_TYPES = new Map([
[LIBUV, { name: 'libuv', re: /libuv/ }],
[NOINTL, { name: 'No Intl', re: /nointl/ }],
[V8, { name: 'V8', re: /node-test-commit-v8/ }],
[LINTER, { name: 'Linter', re: /node-test-linter/ }]
[LINTER, { name: 'Linter', re: /node-test-linter/ }],
[LITE, { name: 'Lite Commit CI', re: /node-test-commit-lite/ }]
]);

class CIParser {
Expand Down Expand Up @@ -78,7 +80,7 @@ class CIParser {

CIParser.TYPES = CI_TYPES;
CIParser.constants = {
CITGM, FULL, BENCHMARK, LIBUV, V8, NOINTL, LINTER
CITGM, FULL, BENCHMARK, LIBUV, V8, NOINTL, LINTER, LITE
};

module.exports = CIParser;

0 comments on commit 209eab1

Please sign in to comment.