diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9663c7..53c46b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ on: jobs: test: name: Run test & lint - runs-on: Ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/.github/workflows/update-benchmark.yml b/.github/workflows/update-benchmark.yml index 60c2210..de7b5a9 100644 --- a/.github/workflows/update-benchmark.yml +++ b/.github/workflows/update-benchmark.yml @@ -7,7 +7,7 @@ on: jobs: auto-update: name: Automated benchmarks update - runs-on: Ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/scripts/update_benchmarks.ts b/scripts/update_benchmarks.ts index 76ef4cb..2aa6221 100755 --- a/scripts/update_benchmarks.ts +++ b/scripts/update_benchmarks.ts @@ -184,7 +184,7 @@ type Optional = Pick, K> & Omit; }); async function fetchBenchmarks() { - const browser = await puppeteer.launch({ headless: true }); + const browser = await puppeteer.launch({ headless: true, args: ["--no-sandbox", "--disable-setuid-sandbox"] }); const page = await browser.newPage(); await page.goto(BENCHMARK_URL, { waitUntil: 'networkidle2' });