From 77bf0a6e94fdaefaf92bf20a5cb5fa4302acbe2d Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Mon, 2 Mar 2026 09:23:49 +0100 Subject: [PATCH] don't run Github tests unless process.env.TEST8BIT_GITHUB_TOKEN exists --- test/cli/testgithub.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/cli/testgithub.js b/test/cli/testgithub.js index 9be90e54..acb35954 100644 --- a/test/cli/testgithub.js +++ b/test/cli/testgithub.js @@ -1,5 +1,10 @@ "use strict"; +// don't run unless Github token exists +if (!process.env.TEST8BIT_GITHUB_TOKEN) { + return; +} + var vm = require('vm'); var fs = require('fs'); var assert = require('assert');