Skip to content

Commit

Permalink
ci: add back puppeteer skip download flag (elastic#1405)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickofthyme authored Sep 23, 2021
1 parent ffe45c8 commit bd7c62a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ci/global_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ yarn config set yarn-offline-mirror "$cacheDir/yarn-offline-cache"
yarnGlobalDir="$(yarn global bin)"
export PATH="$PATH:$yarnGlobalDir"

# avoid download puppeteer locally (we use the dockerized version)
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
###
### install dependencies
###
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ concurrency:

env:
ECH_NODE_VERSION: '14.x'
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true

on:
push:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
ECH_NODE_VERSION: '14.x'
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true

jobs:
status:
Expand Down Expand Up @@ -62,6 +63,7 @@ jobs:
uses: bahmutov/npm-install@v1
with:
useRollingCache: true

- name: Lint check
run: yarn lint
- name: Prettier check
Expand Down

0 comments on commit bd7c62a

Please sign in to comment.