Skip to content

Commit

Permalink
ci: add puppeteer cache to workspace persist paths
Browse files Browse the repository at this point in the history
This is needed due to the breaking change in version 19 puppeteer/puppeteer#9095
  • Loading branch information
alan-agius4 committed Oct 25, 2022
1 parent b6f0946 commit 05abe82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .bazelrc
@@ -1,5 +1,6 @@
# Disable NG CLI TTY mode
build --action_env=NG_FORCE_TTY=false
test --action_env=PUPPETEER_CACHE_DIR=node_modules/.cache/puppeteer

# Make TypeScript compilation fast, by keeping a few copies of the compiler
# running as daemons, and cache SourceFile AST's to reduce parse time.
Expand Down
2 changes: 2 additions & 0 deletions .circleci/env.sh
Expand Up @@ -36,3 +36,5 @@ source $BASH_ENV;

# Disable husky.
setPublicVar HUSKY 0

setPublicVar PUPPETEER_CACHE_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})/node_modules/.cache/puppeteer")
3 changes: 3 additions & 0 deletions WORKSPACE
Expand Up @@ -64,6 +64,9 @@ yarn_install(
"//:.yarn/releases/yarn-1.22.17.cjs",
"//:.yarnrc",
],
environment = {
"PUPPETEER_CACHE_DIR": "./node_modules/.cache/puppeteer",
},
# Currently disabled due to:
# 1. Missing Windows support currently.
# 2. Incompatibilites with the `ts_library` rule.
Expand Down

0 comments on commit 05abe82

Please sign in to comment.