Skip to content

Commit

Permalink
[chore] CI: Skip puppeteer download on non-perf workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars authored and bjoerge committed Feb 2, 2021
1 parent 2a27727 commit 6f3ecba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Install npm dependencies
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
run: npm install

# Required for import lint rules to work - packages pointing to ex
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Install npm dependencies
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
run: npm install

- name: Build modules
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Install npm dependencies
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
run: npm install

- name: Run cypress
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/verify_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Install npm dependencies
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
# --ignore-scripts disables postinstall because it's not needed
# in this CI step and takes a long time
run: npm install --ignore-scripts
Expand Down

0 comments on commit 6f3ecba

Please sign in to comment.