Skip to content

Commit 05fc766

Browse files
committed
chore: add Playroom deployment
1 parent a48bd0d commit 05fc766

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/delete-tests-reports.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ jobs:
1818
uses: ./.github/actions/node
1919

2020
- name: Delete Report
21+
# yarn surge teardown $DOMAIN_PLAYROOM --token ${{ secrets.SURGE_TOKEN }}
2122
run: |
2223
echo "Deleting report for branch $BRANCH_NAME"
2324
BRANCH_URL=$(echo ${BRANCH_NAME} | sed -e 's/[^a-zA-Z0-9]/-/g')
2425
DOMAIN=https://kiwicom-orbit-test-report-${BRANCH_URL}.surge.sh
26+
DOMAIN_PLAYROOM=https://kiwicom-orbit-test-report-${BRANCH_URL}-playroom.surge.sh
2527
yarn surge teardown $DOMAIN --token ${{ secrets.SURGE_TOKEN }}
2628
continue-on-error: true

packages/orbit-components/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.out
66
.cache
77
.DS_STORE
8+
.playroom/
89
src/data/airportIllustrations.json
910
src/data/illustrations.json
1011
src/data/icons.json

packages/orbit-components/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"build:iconsFont": "node --loader ts-node/esm config/createSVGFont.mts",
2929
"build:emailIcons": "yarn build:icons && yarn build:iconsFont && node --loader ts-node/esm config/generateEmailIcons.mts",
3030
"build:storybook": "yarn build:icons && storybook build -c .storybook -o .out",
31+
"build:playroom": "playroom build",
3132
"eslint:check": "eslint . --report-unused-disable-directives",
3233
"test-ct": "playwright test -c playwright-ct.config.ts",
3334
"deploy:storybook": "yarn storybook-to-ghpages -e ./.out",

0 commit comments

Comments
 (0)