init 003_test,

This commit is contained in:
2025-05-16 11:13:50 +08:00
parent 3e3e23aa68
commit 2371e40ad2
59 changed files with 1937 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -ex
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
echo "done"

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -ex
npx playwright install
npx playwright install-deps
echo "done"

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
echo "**** install chrome ****"
apt update
apt install -y wget
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list
apt update
apt install -y google-chrome-stable
echo "install chrome done"

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -ex
cd scripts
./001_setup.sh 2>&1 | tee setup.log
./002_setup_playwright.sh 2>&1 | tee setup.log
sudo ./003_google_chrome.sh 2>&1 | tee setup.log
cd ..
echo "done"