From ce5dd7716a50e325b0e36a14700f487c013ec1bd Mon Sep 17 00:00:00 2001 From: Paolo <149602456+pdtfh@users.noreply.github.com> Date: Sun, 10 Dec 2023 17:33:43 +0100 Subject: [PATCH] install chrome --- .github/workflows/ci.yml | 2 +- packages/standalone/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index feff70ea..77088025 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: run: pnpm install - name: Install Chrome - run: npx puppeteer browsers install chrome + run: pnpm install-chrome - name: Typecheck & Build run: pnpm build diff --git a/packages/standalone/package.json b/packages/standalone/package.json index 3b978c9d..f46eb685 100644 --- a/packages/standalone/package.json +++ b/packages/standalone/package.json @@ -26,7 +26,8 @@ "dev": "tsup --watch", "lint": "eslint src --ext .tsx", "test": "concurrently \"http-server ./build/ -p 8080\" \"node src/browser.test.js\" --kill-others", - "prepublishOnly": "npm run build" + "prepublishOnly": "npm run build", + "install-chrome": "puppeteer browsers install chrome" }, "keywords": [ "identity",