From 8b13b45c121822720465240594e783412e5db9d6 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 10 Jan 2023 16:13:28 +0100 Subject: [PATCH] remove port, that was hard-coded anyway --- .circleci/config.yml | 4 ++-- .github/workflows/generate-repros-next.yml | 2 +- code/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 888dd6175ce3..04f5390f0cda 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -162,7 +162,7 @@ jobs: name: Running local registry command: | cd code - yarn local-registry --port 6001 --open + yarn local-registry --open background: true - run: name: Wait for registry @@ -203,7 +203,7 @@ jobs: name: Running local registry command: | cd code - yarn local-registry --port 6001 --open + yarn local-registry --open background: true - run: name: Wait for registry diff --git a/.github/workflows/generate-repros-next.yml b/.github/workflows/generate-repros-next.yml index fcd1ee8072c5..8d84278b2eeb 100644 --- a/.github/workflows/generate-repros-next.yml +++ b/.github/workflows/generate-repros-next.yml @@ -29,7 +29,7 @@ jobs: - name: Compile Storybook libraries run: yarn task --task publish --start-from=auto --no-link - name: Running local registry - run: yarn local-registry --port 6001 --open & + run: yarn local-registry --open & working-directory: ./code - name: Wait for registry run: yarn wait-on http://localhost:6001 diff --git a/code/package.json b/code/package.json index 3d44f378d695..3d3e335c66db 100644 --- a/code/package.json +++ b/code/package.json @@ -41,7 +41,7 @@ "lint:md": "../scripts/node_modules/.bin/remark -q .", "lint:other": "prettier --write '**/*.{css,html,json,md,yml}'", "lint:package": "sort-package-json", - "local-registry": "ts-node --swc --project=../scripts/tsconfig.json ../scripts/run-registry.ts --port 6001", + "local-registry": "ts-node --swc --project=../scripts/tsconfig.json ../scripts/run-registry.ts", "publish-repros": "ts-node --swc ../scripts/next-repro-generators/publish.ts", "publish:debug": "npm run publish:latest -- --npm-tag=debug --no-push", "publish:latest": "lerna publish --exact --concurrency 1 --force-publish",