File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 18
18
- name : Install pnpm
19
19
run : npm install -g pnpm
20
20
- run : pnpm install
21
+ - name : Install Cypress
22
+ run : pnpx cypress install
23
+ - name : Build Storybook
24
+ run : pnpm run build-storybook
25
+ - name : Run Cypress tests
26
+ run : |
27
+ npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
28
+ "npx http-server storybook-static --port 6006 --silent" \
29
+ "npx wait-on tcp:6006 && pnpm cypress:run"
21
30
- run : pnpm run build
Original file line number Diff line number Diff line change 19
19
- name : Install pnpm
20
20
run : npm install -g pnpm
21
21
- run : pnpm install
22
+ - name : Install Cypress
23
+ run : pnpx cypress install
24
+ - name : Build Storybook
25
+ run : pnpm run build-storybook
26
+ - name : Run Cypress tests
27
+ run : |
28
+ npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
29
+ "npx http-server storybook-static --port 6006 --silent" \
30
+ "npx wait-on tcp:6006 && pnpm cypress:run"
22
31
- run : pnpm run build
23
32
- run : npm publish --provenance --access public
24
33
env :
You can’t perform that action at this time.
0 commit comments