Replace prebuild-ci with simple wrapper around prebuild

Drop Node.js 13, generate prebuilds for NAPI v3 only
This commit is contained in:
Lovell Fuller
2020-08-17 23:00:47 +01:00
parent 341ea3e4ea
commit 42d4228595
4 changed files with 27 additions and 57 deletions

9
install/prebuild-ci.js Normal file
View File

@@ -0,0 +1,9 @@
'use strict';
const { execFileSync } = require('child_process');
const { prebuild_upload: hasToken, APPVEYOR_REPO_TAG_NAME, TRAVIS_TAG } = process.env;
if (hasToken && (APPVEYOR_REPO_TAG_NAME || TRAVIS_TAG)) {
execFileSync('prebuild', ['--runtime', 'napi', '--target', '3'], { stdio: 'inherit' });
}