Revert "[Doc] use safe package.json yarn.lock" (#55074)

This commit is contained in:
Dan Roscigno 2025-01-14 06:30:36 -05:00 committed by GitHub
parent 836688b799
commit d4b5b3cc01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -76,6 +76,8 @@ jobs:
echo "branch=${{github.base_ref}}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout PR
run: |
@ -128,8 +130,6 @@ jobs:
rm -rf ./docs/release_notes ./docs/ecosystem_release
mv ../zh ./i18n/zh/docusaurus-plugin-content-docs/current
rm -rf ./i18n/zh/docusaurus-plugin-content-docs/current/release_notes ./i18n/zh/docusaurus-plugin-content-docs/current/ecosystem_release
git fetch
git checkout origin/main -- docs/docusaurus/package.json docs/docusaurus/yarn.lock
yarn install --frozen-lockfile
yarn clear
yarn build