Merge pull request #2429 from taras/tm/scaffold-repo-visibility

Add the ability to configure repository visibility via config
This commit is contained in:
Patrik Oldsberg
2020-09-16 16:52:22 +02:00
committed by GitHub
7 changed files with 298 additions and 134 deletions
+8
View File
@@ -272,6 +272,10 @@ async function createPlugin(pluginName: string, appDir: string) {
async function testAppServe(pluginName: string, appDir: string) {
const startApp = spawnPiped(['yarn', 'start'], {
cwd: appDir,
env: {
...process.env,
GITHUB_ACCESS_TOKEN: 'abc',
},
});
Browser.localhost('localhost', 3000);
@@ -351,6 +355,10 @@ async function testBackendStart(appDir: string, isPostgres: boolean) {
const child = spawnPiped(['yarn', 'workspace', 'backend', 'start'], {
cwd: appDir,
env: {
...process.env,
GITHUB_ACCESS_TOKEN: 'abc',
},
});
let stdout = '';