From 6e05547dad56eb227606a3d3c7353efa415bdda4 Mon Sep 17 00:00:00 2001 From: Ethan Christian Date: Sat, 29 Mar 2025 09:16:48 -0500 Subject: [PATCH] [Actions] Install clojure and kondo (#1) --- .github/workflows/clojure.yml | 5 +++++ src/test/js/runner.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clojure.yml b/.github/workflows/clojure.yml index 925bb7c5..78ca8b57 100644 --- a/.github/workflows/clojure.yml +++ b/.github/workflows/clojure.yml @@ -16,6 +16,11 @@ jobs: with: # The Java version to make available on the path. Takes a whole or semver Java version, or 1.x syntax (e.g. 1.8 => Java 8.x). Early access versions can be specified in the form of e.g. 14-ea, 14.0.0-ea, or 14.0.0-ea.28 java-version: 1.8 + - name: Setup Clojure + uses: DeLaGuardo/setup-clojure@13.2 + with: + lein: 2.9.1 + clj-kondo: 2023.04.14 - name: Setup Node.js environment uses: actions/setup-node@v2.5.2 with: diff --git a/src/test/js/runner.js b/src/test/js/runner.js index 0147675b..36ce330a 100644 --- a/src/test/js/runner.js +++ b/src/test/js/runner.js @@ -6,7 +6,7 @@ if (process.argv.length !== 3) { } (async () => { - const browser = await puppeteer.launch({ headless: true }); // Launch headless Chrome + const browser = await puppeteer.launch({ headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); // Launch headless Chrome const page = await browser.newPage(); // Create a new page // test html file