Skip to content

Commit 43a0873

Browse files
Add support for empty repos in GL (#184)
1 parent bc88cd7 commit 43a0873

File tree

8 files changed

+227
-6
lines changed

8 files changed

+227
-6
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install dependencies
2121
run: |
2222
pnpm install
23-
npx puppeteer browsers install chrome
23+
npx puppeteer browsers install
2424
cd test && pnpm install
2525
- name: Build the extension
2626
run: pnpm build

.puppeteerrc.cjs

+10
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,14 @@ const { join } = require("path");
55
*/
66
module.exports = {
77
cacheDirectory: join(__dirname, ".cache", "puppeteer"),
8+
browserRevision: "130.0.6723.58",
9+
defaultLaunchOptions: {
10+
headless: "new",
11+
args: [
12+
"--no-sandbox",
13+
"--disable-setuid-sandbox",
14+
"--disable-dev-shm-usage",
15+
"--disable-gpu"
16+
]
17+
}
818
};

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"@types/chrome": "0.0.287",
3636
"@types/mocha": "^10.0.7",
3737
"@types/node": "20.14.5",
38+
"@types/puppeteer": "^7.0.4",
3839
"@types/react": "18.3.3",
3940
"@types/react-dom": "18.3.1",
4041
"@types/validator": "^13.12.0",
@@ -50,6 +51,7 @@
5051
"postcss": "^8.4.47",
5152
"prettier": "3.3.3",
5253
"puppeteer": "^23.6.0",
54+
"puppeteer-core": "^24.1.1",
5355
"source-map-support": "^0.5.21",
5456
"tailwindcss": "^3.4.15",
5557
"ts-node": "^10.9.2",

0 commit comments

Comments
 (0)