CI: migrate x64 Linux, macOS and Windows to GitHub Actions

This commit is contained in:
Lovell Fuller
2020-12-09 12:32:32 +00:00
parent 103ec0d58f
commit e59e146887
5 changed files with 101 additions and 170 deletions

View File

@@ -1,12 +0,0 @@
'use strict';
const { spawnSync } = require('child_process');
const { prebuild_upload: hasToken, APPVEYOR_REPO_TAG_NAME, TRAVIS_TAG } = process.env;
if (hasToken && (APPVEYOR_REPO_TAG_NAME || TRAVIS_TAG)) {
spawnSync('node',
['./node_modules/prebuild/bin.js', '--runtime', 'napi', '--target', '3'],
{ shell: true, stdio: 'inherit' }
);
}