File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
scripts/datasheet-rendering Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ if [ -n "$CI" ]; then
2626 sudo apt-get -qq update -y
2727 # SEE: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix
2828 sudo apt-get -qq install -y -o=Dpkg::Use-Pty=0 ca-certificates fonts-liberation libasound2 libappindicator3-1 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils
29+ sudo apt-get -qq install -y chromium || sudo apt-get -qq install -y chromium-browser
2930
3031 echo " Running on Node version: ` node -v` "
3132
@@ -34,7 +35,9 @@ if [ -n "$CI" ]; then
3435 echo " Registry attuale: $( npm config get registry) "
3536
3637 echo " Installing dependencies..."
37- export PUPPETEER_SKIP_DOWNLOAD=true npm install --verbose
38+ export PUPPETEER_SKIP_DOWNLOAD=true
39+ npm install --verbose
40+ export PUPPETEER_EXECUTABLE_PATH=$( which chromium || which chromium-browser)
3841
3942 echo " Running datasheet-renderer..."
4043 time npx datasheet-renderer config.json
You can’t perform that action at this time.
0 commit comments