ci: updated base-image

This commit is contained in:
Marvin Zhang
2024-11-20 15:04:25 +08:00
parent 76aabc3692
commit db4dce33a4
7 changed files with 66 additions and 62 deletions

View File

@@ -19,16 +19,16 @@ nvm alias default ${version}
# verifies the right Node.js version is in the environment
if [[ ! "$(node -v)" =~ ^v${version} ]]; then
echo "Node.js version is not v${version}.x"
exit 1
echo "Node.js version is not v${version}.x"
exit 1
fi
# install node dependencies
npm install -g \
yarn \
pnpm \
crawlab-sdk@latest \
puppeteer \
playwright \
playwright-chromium \
crawlee
yarn \
pnpm \
crawlab-sdk@latest \
puppeteer \
playwright \
playwright-chromium \
crawlee