Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jan 26, 2024
1 parent 6b00cf1 commit dbbc884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3953,6 +3953,7 @@ const exec = __nccwpck_require__(514);
async function main() {
try {
if (process.platform == "linux") {
await exec.exec("sudo apt-get update");
await exec.exec("sudo apt-get install -y xvfb x11-xserver-utils");
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Run your tests headlessly",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "npx ncc build index.js"
},
"keywords": [],
"author": {
Expand Down

0 comments on commit dbbc884

Please sign in to comment.