install headless chrome
This commit is contained in:
parent
b88187606d
commit
fac44d52bf
2 changed files with 11 additions and 2 deletions
|
@ -124,6 +124,14 @@ jobs:
|
|||
- run:
|
||||
name: Run clippy
|
||||
command: cargo clippy -- -D warnings
|
||||
- run:
|
||||
name: Install headless chrome dependencies
|
||||
command: |
|
||||
sudo apt-get install -yq \
|
||||
ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 \
|
||||
libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 \
|
||||
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 lsb-release wget xdg-utils
|
||||
- run:
|
||||
name: Run tests
|
||||
no_output_timeout: "30m"
|
||||
|
|
|
@ -31,11 +31,12 @@
|
|||
"scripts": {
|
||||
"wasm-pack": "wasm-pack build --out-name index --target web",
|
||||
"prebuild": "npm install",
|
||||
"build": "npm run wasm-pack -- --release && node patch.js && npm run bundle",
|
||||
"build:dev": "npm run wasm-pack -- --dev && node patch.js && npm run bundle",
|
||||
"build": "npm run wasm-pack -- --release && npm run patch && npm run bundle",
|
||||
"build:dev": "npm run wasm-pack -- --dev && npm run patch && npm run bundle",
|
||||
"pretest": "npm run build:dev",
|
||||
"test": "npm run run-tests",
|
||||
"run-tests": "mocha --timeout 100000 --recursive tests",
|
||||
"patch": "node patch.js",
|
||||
"bundle": "browserify ./index.js --standalone zokrates -t [ babelify --presets [ @babel/preset-env ] ] | uglifyjs --compress --mangle > umd.min.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Reference in a new issue