Skip to content

Commit 0eded78

Browse files
author
Eduardo Paez Rubio
committed
Upgrade workflow runners to ubuntu-latest
1 parent 8c81b70 commit 0eded78

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
test:
1717
name: Run test & lint
18-
runs-on: Ubuntu-20.04
18+
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
2121
- uses: actions/setup-node@v4

.github/workflows/update-benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
auto-update:
99
name: Automated benchmarks update
10-
runs-on: Ubuntu-20.04
10+
runs-on: ubuntu-latest
1111

1212
steps:
1313
- uses: actions/checkout@v4

scripts/update_benchmarks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
184184
});
185185

186186
async function fetchBenchmarks() {
187-
const browser = await puppeteer.launch({ headless: true });
187+
const browser = await puppeteer.launch({ headless: true, args: ["--no-sandbox", "--disable-setuid-sandbox"] });
188188
const page = await browser.newPage();
189189

190190
await page.goto(BENCHMARK_URL, { waitUntil: 'networkidle2' });

0 commit comments

Comments
 (0)