Skip to content

Commit

Permalink
feat: puppeteer circle setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lili2311 committed Oct 2, 2020
1 parent a15dcb3 commit f4d7d02
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ jobs:
- checkout
- run: npm install semantic-release @semantic-release/exec pkg --save-dev
- run: npm install
- run:
name: Install Headless Chrome dependencies
command: |
sudo apt-get install -yq \
gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
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 ca-certificates \
fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
- run: npm test
- snyk/scan:
fail-on-issues: true
Expand All @@ -22,6 +31,15 @@ jobs:
steps:
- checkout
- run: npm install
- run:
name: Install Headless Chrome dependencies
command: |
sudo apt-get install -yq \
gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
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 ca-certificates \
fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
- run: npm test
- snyk/scan:
fail-on-issues: true
Expand Down
2 changes: 1 addition & 1 deletion test/system/__snapshots__/generate.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Options:
--orgPublicId Public id of the organization in Snyk (available on
organization settings) [required]
--template Path to custom Handelbars.js template file (*.hbs)
--outputFormat Report format [default: \\"html\\"]
--outputFormat Report format [choices: \\"html\\", \\"pdf\\"] [default: \\"html\\"]
--view How should the data be represented. Defaults to a license
based view. [default: \\"org-licenses\\"]
Expand Down

0 comments on commit f4d7d02

Please sign in to comment.