update dependencies

This commit is contained in:
ClovertaTheTrilobita 2026-06-02 01:37:14 +08:00
parent b60b8d8e61
commit eeff9fa4f6
2 changed files with 678 additions and 833 deletions

View file

@ -71,35 +71,8 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Install Playwright system dependencies
run: npx playwright install-deps chromium
timeout-minutes: 10
- name: Install Playwright Chromium headless shell
run: |
for attempt in 1 2 3; do
echo "Installing Playwright Chromium headless shell: attempt ${attempt}/3"
if timeout 8m npx playwright install chromium --only-shell; then
echo "Playwright browser installed successfully."
exit 0
fi
echo "Playwright browser installation failed or hung."
echo "Removing incomplete browser cache before retrying..."
rm -rf ~/.cache/ms-playwright
sleep 10
done
echo "Playwright browser installation failed after 3 attempts."
exit 1
timeout-minutes: 30
env:
PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT: "120000"
- name: List installed Playwright browsers
run: npx playwright install --list
- name: Install Playwright browsers
run: npx playwright install chromium --with-deps
- name: Create .env file
run: |
@ -147,7 +120,7 @@ jobs:
steps:
- name: Checkout blog-content branch
uses: actions/checkout@v5
uses: actions/checkout@v4
with:
ref: blog-content
@ -160,35 +133,8 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Install Playwright system dependencies
run: npx playwright install-deps chromium
timeout-minutes: 10
- name: Install Playwright Chromium headless shell
run: |
for attempt in 1 2 3; do
echo "Installing Playwright Chromium headless shell: attempt ${attempt}/3"
if timeout 8m npx playwright install chromium --only-shell; then
echo "Playwright browser installed successfully."
exit 0
fi
echo "Playwright browser installation failed or hung."
echo "Removing incomplete browser cache before retrying..."
rm -rf ~/.cache/ms-playwright
sleep 10
done
echo "Playwright browser installation failed after 3 attempts."
exit 1
timeout-minutes: 30
env:
PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT: "120000"
- name: List installed Playwright browsers
run: npx playwright install --list
- name: Install Playwright browsers
run: npx playwright install chromium --with-deps
- name: Create .env file
run: |

1447
package-lock.json generated

File diff suppressed because it is too large Load diff