ci: use latest element-plus for docs:build (#3584)

This commit is contained in:
三咲智子 2021-09-23 14:05:06 +08:00 committed by GitHub
parent fcbd9be11b
commit 68c5d28fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -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:

View File

@ -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