Skip to content

Commit

Permalink
feat: sync
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Oct 18, 2023
1 parent 38222bc commit 07d9a67
Show file tree
Hide file tree
Showing 3 changed files with 3,449 additions and 2,717 deletions.
53 changes: 26 additions & 27 deletions .github/workflows/checkout-test-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,33 +76,6 @@ jobs:
export NODE_OPTIONS="--max-old-space-size=8096"
pnpm run test
test-build:
name: Test build
runs-on: ubuntu-latest
timeout-minutes: 60
needs: embed-docs
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Prepare
uses: ./.github/actions/checkout-install
with:
apt: true

- uses: actions/download-artifact@v3
with:
name: embed-${{ github.sha }}

- name: Unzip artifact
run: |
unzip -o embed.zip
- name: Test
run: |
export NODE_OPTIONS="--max-old-space-size=8096"
pnpm run test:build
build:
name: Build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -152,6 +125,32 @@ jobs:
# name: db-external-${{ github.sha }}
# path: external/db-external.zip

test-build:
name: Test build
runs-on: ubuntu-latest
timeout-minutes: 60
needs:
- embed-docs
- build
steps:
- name: Checkout repository
uses: actions/checkout@v3

- uses: actions/download-artifact@v3
with:
name: full-build-${{ github.sha }}

- name: Unzip artifact
run: |
mkdir -p .vitepress/dist
unzip -o full-build.zip
ls -la .vitepress/dist
- name: Test
run: |
export NODE_OPTIONS="--max-old-space-size=8096"
pnpm run test:build
# chromatic:
# name: Deploy Storybook to Chromatic
# runs-on: ubuntu-latest
Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"@shopware-ag/meteor-icon-kit": "^5.1.0",
"cross-env": "^7.0.3",
"terser": "^5.17.3",
"vitepress": "1.0.0-rc.12",
"vitepress-shopware-docs": "^1.0.3",
"vitepress": "1.0.0-rc.22",
"vitepress-shopware-docs": "^1.0.10",
"vue": "^3.3.1"
},
"devDependencies": {
"@shopware-docs/cli": "^1.0.3",
"@shopware-docs/storybook": "^1.0.3",
"@shopware-docs/vitepress": "^1.0.3",
"@shopware-docs/vitest": "^1.0.3",
"@shopware-docs/cli": "^1.0.10",
"@shopware-docs/storybook": "^1.0.10",
"@shopware-docs/vitepress": "^1.0.10",
"@shopware-docs/vitest": "^1.0.10",
"@docsearch/css": "^3.3.4",
"@docsearch/js": "^3.3.4",
"@originjs/vite-plugin-require-context": "^1.0.9",
Expand Down Expand Up @@ -58,7 +58,6 @@
"lorem-ipsum": "^2.0.8",
"mermaid": "9.1.7",
"playwright-chromium": "^1.33.0",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remove-markdown": "^0.5.0",
Expand Down
Loading

0 comments on commit 07d9a67

Please sign in to comment.