fix: docker images
This commit is contained in:
5 files changed
+21
-11
No files matched your search
@@ -115,6 +115,11 @@ function isPathWithin(candidatePath, rootPath) {
|
||||
const logger = new PrefixedLogger('[postinstall:knope]');
|
||||
const { dim, red, green } = createTextHelpers({ useColor: logger.useColor });
|
||||
|
||||
if (process.env.GITHUB_ACTIONS && process.env.CI) {
|
||||
logger.info(`${dim('Running in CI environment, skipping knope installation')}`);
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
const target = TARGETS[`${process.platform}-${process.arch}`];
|
||||
if (!target) {
|
||||
const supported = Object.keys(TARGETS).join(', ');
|
||||
|
||||
Reference in new issue
Block a user