mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 17:21:48 +03:00
ci(storybook): wait for 6006 (#1833)
This commit is contained in:
parent
2601b26c16
commit
17fa77e5ae
2
.github/workflows/build-master.yml
vendored
2
.github/workflows/build-master.yml
vendored
@ -142,7 +142,7 @@ jobs:
|
||||
- name: Run storybook tests
|
||||
working-directory: ./packages/component
|
||||
run: |
|
||||
yarn exec concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn exec serve ./storybook-static -l 6006" "yarn test-storybook --coverage"
|
||||
yarn exec concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn exec serve ./storybook-static -l 6006" "yarn exec wait-on tcp:6006 && yarn test-storybook --coverage"
|
||||
- name: Upload storybook test coverage results
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -100,7 +100,7 @@ jobs:
|
||||
- name: Run storybook tests
|
||||
working-directory: ./packages/component
|
||||
run: |
|
||||
yarn exec concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn exec serve ./storybook-static -l 6006" "yarn test-storybook --coverage"
|
||||
yarn exec concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn exec serve ./storybook-static -l 6006" "yarn exec wait-on tcp:6006 && yarn test-storybook --coverage"
|
||||
- name: Upload storybook test coverage results
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
|
@ -83,6 +83,7 @@ __metadata:
|
||||
storybook-dark-mode: ^3.0.0
|
||||
typescript: ^5.0.3
|
||||
vite: ^4.2.1
|
||||
wait-on: ^7.0.1
|
||||
yjs: ^13.5.52
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@ -6640,6 +6641,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"axios@npm:^0.27.2":
|
||||
version: 0.27.2
|
||||
resolution: "axios@npm:0.27.2"
|
||||
dependencies:
|
||||
follow-redirects: ^1.14.9
|
||||
form-data: ^4.0.0
|
||||
checksum: 38cb7540465fe8c4102850c4368053c21683af85c5fdf0ea619f9628abbcb59415d1e22ebc8a6390d2bbc9b58a9806c874f139767389c862ec9b772235f06854
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"babel-core@npm:^7.0.0-bridge.0":
|
||||
version: 7.0.0-bridge.0
|
||||
resolution: "babel-core@npm:7.0.0-bridge.0"
|
||||
@ -9386,7 +9397,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"follow-redirects@npm:^1.14.0":
|
||||
"follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.14.9":
|
||||
version: 1.15.2
|
||||
resolution: "follow-redirects@npm:1.15.2"
|
||||
peerDependenciesMeta:
|
||||
@ -9426,6 +9437,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"form-data@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "form-data@npm:4.0.0"
|
||||
dependencies:
|
||||
asynckit: ^0.4.0
|
||||
combined-stream: ^1.0.8
|
||||
mime-types: ^2.1.12
|
||||
checksum: 01135bf8675f9d5c61ff18e2e2932f719ca4de964e3be90ef4c36aacfc7b9cb2fceb5eca0b7e0190e3383fe51c5b37f4cb80b62ca06a99aaabfcfd6ac7c9328c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"format@npm:^0.2.0":
|
||||
version: 0.2.2
|
||||
resolution: "format@npm:0.2.2"
|
||||
@ -11772,7 +11794,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"joi@npm:^17.3.0":
|
||||
"joi@npm:^17.3.0, joi@npm:^17.7.0":
|
||||
version: 17.9.1
|
||||
resolution: "joi@npm:17.9.1"
|
||||
dependencies:
|
||||
@ -12669,7 +12691,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"minimist@npm:^1.1.1, minimist@npm:^1.1.3, minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8, minimist@npm:~1.2.5":
|
||||
"minimist@npm:^1.1.1, minimist@npm:^1.1.3, minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.7, minimist@npm:^1.2.8, minimist@npm:~1.2.5":
|
||||
version: 1.2.8
|
||||
resolution: "minimist@npm:1.2.8"
|
||||
checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0
|
||||
@ -16708,6 +16730,21 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"wait-on@npm:^7.0.1":
|
||||
version: 7.0.1
|
||||
resolution: "wait-on@npm:7.0.1"
|
||||
dependencies:
|
||||
axios: ^0.27.2
|
||||
joi: ^17.7.0
|
||||
lodash: ^4.17.21
|
||||
minimist: ^1.2.7
|
||||
rxjs: ^7.8.0
|
||||
bin:
|
||||
wait-on: bin/wait-on
|
||||
checksum: 1e8a17d8ee6436f71d3ab82781ce31267481fcd7bbccde49b0f8124871e6e40a1acac3401f04f775ba6203853a5813352fa131620fc139914351f3b2894d573f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"wait-port@npm:^0.2.9":
|
||||
version: 0.2.14
|
||||
resolution: "wait-port@npm:0.2.14"
|
||||
|
@ -65,6 +65,7 @@
|
||||
"storybook-dark-mode": "^3.0.0",
|
||||
"typescript": "^5.0.3",
|
||||
"vite": "^4.2.1",
|
||||
"wait-on": "^7.0.1",
|
||||
"yjs": "^13.5.52"
|
||||
}
|
||||
}
|
||||
|
43
yarn.lock
43
yarn.lock
@ -83,6 +83,7 @@ __metadata:
|
||||
storybook-dark-mode: ^3.0.0
|
||||
typescript: ^5.0.3
|
||||
vite: ^4.2.1
|
||||
wait-on: ^7.0.1
|
||||
yjs: ^13.5.52
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@ -7716,6 +7717,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"axios@npm:^0.27.2":
|
||||
version: 0.27.2
|
||||
resolution: "axios@npm:0.27.2"
|
||||
dependencies:
|
||||
follow-redirects: ^1.14.9
|
||||
form-data: ^4.0.0
|
||||
checksum: 38cb7540465fe8c4102850c4368053c21683af85c5fdf0ea619f9628abbcb59415d1e22ebc8a6390d2bbc9b58a9806c874f139767389c862ec9b772235f06854
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"axobject-query@npm:^3.1.1":
|
||||
version: 3.1.1
|
||||
resolution: "axobject-query@npm:3.1.1"
|
||||
@ -10896,7 +10907,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"follow-redirects@npm:^1.14.0":
|
||||
"follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.14.9":
|
||||
version: 1.15.2
|
||||
resolution: "follow-redirects@npm:1.15.2"
|
||||
peerDependenciesMeta:
|
||||
@ -10943,6 +10954,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"form-data@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "form-data@npm:4.0.0"
|
||||
dependencies:
|
||||
asynckit: ^0.4.0
|
||||
combined-stream: ^1.0.8
|
||||
mime-types: ^2.1.12
|
||||
checksum: 01135bf8675f9d5c61ff18e2e2932f719ca4de964e3be90ef4c36aacfc7b9cb2fceb5eca0b7e0190e3383fe51c5b37f4cb80b62ca06a99aaabfcfd6ac7c9328c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"format@npm:^0.2.0":
|
||||
version: 0.2.2
|
||||
resolution: "format@npm:0.2.2"
|
||||
@ -13317,7 +13339,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"joi@npm:^17.3.0":
|
||||
"joi@npm:^17.3.0, joi@npm:^17.7.0":
|
||||
version: 17.9.1
|
||||
resolution: "joi@npm:17.9.1"
|
||||
dependencies:
|
||||
@ -14281,7 +14303,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:~1.2.5":
|
||||
"minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.7, minimist@npm:~1.2.5":
|
||||
version: 1.2.8
|
||||
resolution: "minimist@npm:1.2.8"
|
||||
checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0
|
||||
@ -18866,6 +18888,21 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"wait-on@npm:^7.0.1":
|
||||
version: 7.0.1
|
||||
resolution: "wait-on@npm:7.0.1"
|
||||
dependencies:
|
||||
axios: ^0.27.2
|
||||
joi: ^17.7.0
|
||||
lodash: ^4.17.21
|
||||
minimist: ^1.2.7
|
||||
rxjs: ^7.8.0
|
||||
bin:
|
||||
wait-on: bin/wait-on
|
||||
checksum: 1e8a17d8ee6436f71d3ab82781ce31267481fcd7bbccde49b0f8124871e6e40a1acac3401f04f775ba6203853a5813352fa131620fc139914351f3b2894d573f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"wait-port@npm:^0.2.9":
|
||||
version: 0.2.14
|
||||
resolution: "wait-port@npm:0.2.14"
|
||||
|
Loading…
Reference in New Issue
Block a user