From 68c5d28fb4a2e8842bb5e0fd3bc62710b2289763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Thu, 23 Sep 2021 14:05:06 +0800 Subject: [PATCH] ci: use latest element-plus for docs:build (#3584) --- .github/workflows/master-deploy.yml | 5 ++++- .github/workflows/staging-preview.yml | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/master-deploy.yml b/.github/workflows/master-deploy.yml index 311dc3992e..e3f07b0020 100644 --- a/.github/workflows/master-deploy.yml +++ b/.github/workflows/master-deploy.yml @@ -31,11 +31,14 @@ jobs: CROWDIN_TOKEN: ${{secrets.CROWDIN_TOKEN}} - name: Pull Crowdin translations - run: cd docs && pnpx crowdin download + run: cd docs && pnpm exec crowdin download - name: Generate common locale run: pnpm docs:gen-locale + - name: Install latest Element Plus + run: cd docs && pnpm i element-plus@latest + - name: Build website run: pnpm docs:build env: diff --git a/.github/workflows/staging-preview.yml b/.github/workflows/staging-preview.yml index 27b3e97ace..5c8f317247 100644 --- a/.github/workflows/staging-preview.yml +++ b/.github/workflows/staging-preview.yml @@ -36,10 +36,10 @@ jobs: CROWDIN_TOKEN: ${{secrets.CROWDIN_TOKEN}} - name: Upload source files - run: cd docs && pnpx crowdin upload sources + run: cd docs && pnpm exec crowdin upload sources - name: Pull Crowdin translations - run: cd docs && pnpx crowdin download + run: cd docs && pnpm exec crowdin download - name: Generate common locale run: pnpm docs:gen-locale