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",