You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
"use strict";
|
|
|
|
const publish = require( "./publish" );
|
|
|
|
const {
|
|
|
|
BUILD_REASON,
|
|
|
|
} = process.env;
|
|
|
|
if ( BUILD_REASON && BUILD_REASON === "PullRequest" ) {
|
|
|
|
console.log( "Skipping publish, PR's are not published." );
|
|
process.exit( 0 );
|
|
|
|
}
|
|
|
|
publish( "pegjs" );
|