diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a9b8b4e..c36af1d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -26,11 +26,5 @@ jobs: - name: Install deps run: pnpm i - - name: Start verdaccio - run: | - pnpm verdaccio:serve & - sleep 5 - pnpm verdaccio:login - - name: Test ${{ matrix.app }} run: pnpm plop test "app:${{ matrix.app }}" --no-progress diff --git a/plop/run.ts b/plop/run.ts index 9933a92..a59fe8f 100755 --- a/plop/run.ts +++ b/plop/run.ts @@ -9,6 +9,7 @@ import { RIMRAF_SAFE_PATHS } from '../src/util/safeRimraf' import { mkdir } from '../src/util/shell' import { SRC_PACKAGE_ROOT } from './commands/helpers/root' import {} from './commands/util/exec' +import { startVerdaccio } from './commands/util/startVerdaccio' const args = process.argv.slice(2) const argv = minimist(args) @@ -51,9 +52,9 @@ async function main() { (env) => { Plop.execute(env, async (env, argv) => { try { - // const stop = await startVerdaccio() + const stop = await startVerdaccio() await run(env, undefined, false) - // await stop() + await stop() resolve() } catch (e) { reject(e)