add PUPPETEER_SKIP_DOWNLOAD

pull/350/head
Henry 2023-06-16 23:16:33 +01:00
parent 01e5e12e4e
commit 5e35918021
4 changed files with 7 additions and 3 deletions

View File

@ -19,7 +19,8 @@ jobs:
platform: [ubuntu-latest]
node-version: [18.15.0]
runs-on: ${{ matrix.platform }}
env:
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}

View File

@ -7,12 +7,13 @@ on:
pull_request:
branches:
- "*"
- '*'
jobs:
build:
runs-on: ubuntu-latest
env:
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- uses: actions/checkout@v3

View File

@ -8,6 +8,7 @@ FROM node:18-alpine
RUN apk add --update libc6-compat python3 make g++
# needed for pdfjs-dist
RUN apk add --no-cache build-base cairo-dev pango-dev
ENV PUPPETEER_SKIP_DOWNLOAD=true
WORKDIR /usr/src/packages

View File

@ -6,6 +6,7 @@ RUN apk add --no-cache git
RUN apk add --no-cache python3 py3-pip make g++
# needed for pdfjs-dist
RUN apk add --no-cache build-base cairo-dev pango-dev
ENV PUPPETEER_SKIP_DOWNLOAD=true
# You can install a specific version like: flowise@1.0.0
RUN npm install -g flowise