-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into links/shortcut
- Loading branch information
Showing
214 changed files
with
18,773 additions
and
16,029 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
name: Deploy to GH Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build-storybook: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Read .nvmrc | ||
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" | ||
id: nvm | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '${{ steps.nvm.outputs.NVMRC }}' | ||
|
||
- name: Setup npm cache | ||
uses: pat-s/always-upload-cache@v1.1.4 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm-${{ env.cache-name }}- | ||
${{ runner.os }}-npm- | ||
${{ runner.os }}- | ||
- name: Install dependencies | ||
run: npm ci | ||
env: | ||
CI: true | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | ||
|
||
- name: Build storyook | ||
run: npm run storybook:build | ||
|
||
- name: Upload storybook | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: storybook-files | ||
path: build/storybook | ||
|
||
upload-static-assets: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Upload static assets | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: template-images | ||
path: assets/images/templates | ||
|
||
deploy-gh-pages: | ||
runs-on: ubuntu-latest | ||
needs: [build-storybook, upload-static-assets] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: gh-pages | ||
|
||
- name: Download storybook files | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: storybook-files | ||
path: storybook-files | ||
|
||
- name: Move storybook assets | ||
run: | | ||
mkdir -p storybook | ||
rm -rf storybook/* | ||
mv storybook-files/* storybook/ | ||
- name: Download static assets | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: template-images | ||
path: template-images | ||
|
||
- name: Move static assets | ||
run: | | ||
mkdir -p plugin-assets/images/templates | ||
rm -rf plugin-assets/images/templates/* | ||
mv template-images/* plugin-assets/images/templates/ | ||
- name: Commit updates | ||
run: | | ||
git add . | ||
git status | ||
git diff --staged --quiet && echo 'No changes to commit; exiting!' && exit 0 | ||
git commit -m "Deploy storybook and assets for ${{ github.sha }}" | ||
git pull --no-edit --quiet | ||
git push origin gh-pages | ||
env: | ||
GIT_AUTHOR_EMAIL: ${{ github.actor }}@users.noreply.github.com | ||
GIT_AUTHOR_NAME: ${{ github.actor }} | ||
GIT_COMMITTER_EMAIL: ${{ github.actor }}@users.noreply.github.com | ||
GIT_COMMITTER_NAME: ${{ github.actor }} |
48 changes: 48 additions & 0 deletions
48
.github/workflows/continuous-integration-karma-dashboard.yml
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,48 @@ | ||
name: Dashboard Integration Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- release/* | ||
pull_request: | ||
|
||
jobs: | ||
karma: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Read .nvmrc | ||
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" | ||
id: nvm | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ steps.nvm.outputs.NVMRC }} | ||
|
||
- name: Setup npm cache | ||
uses: pat-s/always-upload-cache@v1.1.4 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm-${{ env.cache-name }}- | ||
${{ runner.os }}-npm- | ||
${{ runner.os }}- | ||
- name: Install dependencies | ||
run: npm ci | ||
env: | ||
CI: true | ||
|
||
- name: Run dashboard integration tests | ||
run: npm run test:karma:dashboard -- --headless --viewport=1600:1000 --coverage | ||
|
||
- name: Upload code coverage report | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
file: build/logs/karma-coverage/dashboard/lcov.info | ||
flags: karmatests |
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 was deleted.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-14 Bytes
(100%)
assets/images/templates/entertainment/ent_icon_musicnote.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-356 Bytes
(97%)
assets/images/templates/entertainment/ent_icon_wraparound.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-215 Bytes
(84%)
assets/images/templates/fashion/fashion_page1_logotype.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-583 Bytes
(84%)
assets/images/templates/fashion/fashion_page2_pinwheel.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-838 Bytes
(82%)
assets/images/templates/fashion/fashion_page2_pinwheel_full.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Binary file modified
BIN
-254 Bytes
(72%)
assets/images/templates/fashion/fashion_page6_pinwheel-outline.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-492 Bytes
(85%)
assets/images/templates/fashion/fashion_page7_pinwheel.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-233 Bytes
(73%)
assets/images/templates/fashion/fashion_page9_facebook.png
Oops, something went wrong.
Binary file modified
BIN
-241 Bytes
(77%)
assets/images/templates/fashion/fashion_page9_instagram.png
Oops, something went wrong.
Binary file modified
BIN
-586 Bytes
(96%)
assets/images/templates/fashion/fashion_page9_item1-cropped.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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
Oops, something went wrong.