-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
563 changed files
with
74,666 additions
and
54,615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Deploy theme-builder build to demo stage | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
ref: | ||
description: 'target branch/sha' | ||
required: false | ||
default: master | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.inputs.ref }} | ||
|
||
- name: Prepare-environment | ||
uses: ./.github/actions/prepare-environment | ||
|
||
- name: Prepare directory build | ||
run: mkdir -p s3_build | ||
|
||
# TODO: https://github.com/salute-developers/plasma/issues/255 | ||
- name: Lerna bootstrap with scope | ||
run: | | ||
npx lerna bootstrap --scope @salutejs/plasma-theme-builder --scope=@salutejs/plasma-{tokens,tokens-utils} | ||
# 2 папки, так как названия разные - в первом случае нужно для replace | ||
- name: Build Theme Builder | ||
env: | ||
REACT_APP_APPLICATION_CLIENT_ID: ${{ secrets.REACT_APP_APPLICATION_CLIENT_ID }} | ||
REACT_APP_AUTH_SERVER_URL: ${{ secrets.REACT_APP_AUTH_SERVER_URL }} | ||
run: | | ||
export NODE_OPTIONS=--openssl-legacy-provider | ||
npm run build --prefix="./website/plasma-theme-builder" | ||
cp -R ./website/plasma-theme-builder/build ./s3_build/plasma-theme-builder-next | ||
- name: Install s3cmd | ||
run: | | ||
pip3 install s3cmd | ||
- name: s3 Upload build | ||
run: > | ||
s3cmd | ||
--access_key ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
--secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
--host ${{ secrets.AWS_ENDPOINT }} | ||
--host-bucket ${{ secrets.AWS_ENDPOINT }} | ||
--bucket-location ${{ secrets.AWS_REGION }} | ||
--signature-v2 | ||
--delete-removed | ||
--no-mime-magic | ||
sync | ||
./s3_build/plasma-theme-builder-next/ | ||
s3://${{ secrets.AWS_S3_BUCKET_2 }}/dev/plasma-theme-builder/ |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-23.7 KB
...2c/components/Badge/Badge.component-test.tsx/plasma-web Badge -- _view.snap.png
Binary file not shown.
Binary file added
BIN
+5.15 KB
...-test.tsx/plasma-web Badge -- [PLASMA-T707] Badge view=default, size=m.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.52 KB
...test.tsx/plasma-web Badge -- [PLASMA-T708] Badge view=positive, size=s.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.35 KB
...t.tsx/plasma-web Badge -- [PLASMA-T709] Badge view=negative, with Icon.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.92 KB
...t-test.tsx/plasma-web Badge -- [PLASMA-T716] Badge view=accent, pilled.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.74 KB
...-test.tsx/plasma-web Badge -- [PLASMA-T717] Badge view=warning, size=l.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.97 KB
...t.component-test.tsx/plasma-web Badge -- [PLASMA-T718] Badge view=dark.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.22 KB
....component-test.tsx/plasma-web Badge -- [PLASMA-T719] Badge view=light.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.62 KB
....tsx/plasma-web Badge -- [PLASMA-T720] Badge view=default, transparent.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-8.04 KB
...onents/Badge/BadgeBase.component-test.tsx/plasma-core Badge -- _pilled.snap.png
Binary file not shown.
Binary file removed
BIN
-8.78 KB
...ponents/Badge/BadgeBase.component-test.tsx/plasma-core Badge -- _sizes.snap.png
Binary file not shown.
Binary file removed
BIN
-8.96 KB
...ge/BadgeBase.component-test.tsx/plasma-core Badge -- _view transparent.snap.png
Binary file not shown.
Binary file removed
BIN
-9.15 KB
...mponents/Badge/BadgeBase.component-test.tsx/plasma-core Badge -- _view.snap.png
Binary file not shown.
Binary file removed
BIN
-3.13 KB
...ponents/Badge/BadgeBase.component-test.tsx/plasma-core Badge -- simple.snap.png
Binary file not shown.
Binary file removed
BIN
-5.83 KB
...ents/Badge/BadgeBase.component-test.tsx/plasma-core Badge -- with Icon.snap.png
Binary file not shown.
Binary file added
BIN
+8.02 KB
...t-test.tsx/plasma-b2c Breadcrumbs -- [PLASMA-T1160] Breadcrumbs size=m.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.95 KB
...t-test.tsx/plasma-b2c Breadcrumbs -- [PLASMA-T1161] Breadcrumbs size=l.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.06 KB
...t-test.tsx/plasma-b2c Breadcrumbs -- [PLASMA-T1162] Breadcrumbs size=s.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.83 KB
...-test.tsx/plasma-b2c Breadcrumbs -- [PLASMA-T1163] Breadcrumbs size=xs.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.02 KB
...t.tsx/plasma-b2c Breadcrumbs -- [PLASMA-T1165] Breadcrumbs showItems=4.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.02 KB
...t.tsx/plasma-b2c Breadcrumbs -- [PLASMA-T1168] Breadcrumbs showItems=1.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11 KB
...tsx/plasma-b2c Breadcrumbs -- [PLASMA-T1169] Breadcrumbs customShorter.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.39 KB
...omponent-test.tsx/plasma-b2c Chip -- [PLASMA-T1194] Chip without Clear.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.77 KB
...nt-test.tsx/plasma-b2c Chip -- [PLASMA-T757] Chip view=default, size=m.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.58 KB
...-test.tsx/plasma-b2c Chip -- [PLASMA-T758] Chip view=secondary, size=s.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.57 KB
...ent-test.tsx/plasma-b2c Chip -- [PLASMA-T759] Chip view=accent, size=l.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.94 KB
...test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T761] Chip disabled.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.73 KB
...mponent-test.tsx/plasma-b2c Chip -- [PLASMA-T973] Chip pilled, size=xs.snap.png
Oops, something went wrong.
Binary file added
BIN
+5.39 KB
...est.component-test.tsx/plasma-b2c Chip -- [PLASMA-T974] Chip with Icon.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.21 KB
...t.component-test.tsx/plasma-b2c Chip -- [PLASMA-T977] Chip fixed width.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.03 KB
...2c Price -- [PLASMA-T1124] Price currency=inr, minimumFractionDigits=0.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.5 KB
...a-b2c Price -- [PLASMA-T1138] Price locale=en, minimumFractionDigits=1.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.05 KB
...omponent-test.tsx/plasma-b2c Price -- [PLASMA-T716] Price currency=rub.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.17 KB
...test.tsx/plasma-b2c Price -- [PLASMA-T717] Price currency=usd, stroked.snap.png
Oops, something went wrong.
Binary file added
BIN
+5.02 KB
...b2c Price -- [PLASMA-T718] Price currency=eur, minimumFractionDigits=5.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.08 KB
...test.component-test.tsx/plasma-b2c Price -- handle two prices in a row.snap.png
Oops, something went wrong.
Binary file added
BIN
+11.1 KB
...ate-test.component-test.tsx/plasma-b2c Price -- processing periodicity.snap.png
Oops, something went wrong.
Binary file removed
BIN
-7.98 KB
...ents/Price/PriceBase.component-test.tsx/plasma-core Price -- _currency.snap.png
Diff not rendered.
Binary file removed
BIN
-4.73 KB
...s/Price/PriceBase.component-test.tsx/plasma-core Price -- _minFraction.snap.png
Diff not rendered.
Binary file removed
BIN
-4.09 KB
...onents/Price/PriceBase.component-test.tsx/plasma-core Price -- _stroke.snap.png
Diff not rendered.
Binary file removed
BIN
-4.07 KB
...ase.component-test.tsx/plasma-core Price -- handle two prices in a row.snap.png
Diff not rendered.
Binary file removed
BIN
-11.1 KB
...iceBase.component-test.tsx/plasma-core Price -- processing periodicity.snap.png
Diff not rendered.
Binary file removed
BIN
-4.04 KB
...ponents/Price/PriceBase.component-test.tsx/plasma-core Price -- simple.snap.png
Diff not rendered.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.