-
-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated execution of a command #421
Comments
Can you share the whole config? |
Yes, but what is configured? concurrently is called in Gitlab CI script inside a docker container. The stages:
- test
test-storybook:
before_script:
- echo "Configure PNPM"
- corepack enable
- corepack prepare pnpm@latest-8 --activate
- pnpm config set store-dir /cache/.pnpm-store
- echo "Install dependencies"
- pnpm install # install dependencies
- echo "Install GIT LFS"
- apt-get update
- apt-get install -y git-lfs
- echo "Build Storybook"
- pnpm build:storybook --quiet -o public
- git checkout public/mockServiceWorker.js public/favicon.ico public/imgs/logo_text.svg
image: mcr.microsoft.com/playwright:v1.32.1-focal
stage: test
script:
- echo "Run storybook testing"
- pnpm dlx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "pnpm dlx http-server public -a 127.0.0.1 --port 6006" "pnpm dlx wait-on --timeout 300000 tcp:6006 && pnpm test-storybook --browsers chromium --junit"
needs:
- lint
only:
refs:
- manual
- merge_requests
artifacts:
when: always
reports:
junit:
- junit.xml
|
Thanks! Yeah, I meant the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description: concurrently executes the first of two command twice
Expected Behavior:Both commands are executed
Environment:
Reproduction: Locally (in a Docker container) not reproducible
Hi,
I am using concurrently as it is described by Storybook to run a test runner against a locally running web-server. The web server is started with
pnpm dlx http-server...
. The test runner is at first waiting for the web server withpnpm dlx wait-on --timeout 300000 tcp:6006 && pnpm test-storybook ...
.Concurrently starts two web server.
See the full log of the ci runner:
ci-runner.log
Can anyone see what is wrong here or what application behaves unexpected and how to make it work?
Thank you very much for the support
Kind regards
Jan
The text was updated successfully, but these errors were encountered: