From aa3def01f05cb04a653df2541ed87c7ecc4980b7 Mon Sep 17 00:00:00 2001 From: Jared Scholz <57383574+redJ4y@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:01:19 +1200 Subject: [PATCH] here --- .github/workflows/tests.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9d117337..b34d3a1d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,13 +17,16 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20.x + - name: Setup Chrome + - id: setup-chrome - uses: browser-actions/setup-chrome@latest with: chrome-version: latest install-chromedriver: true - - run: | - echo "CHROME_BIN=${{ steps.setup-chrome.outputs.chrome-path }}" >> $GITHUB_ENV - - run: echo "CHROMEDRIVER_PATH=$(which chromedriver)" >> $GITHUB_ENV + - name: Set Chrome and ChromeDriver paths + run: | + echo "CHROME_BIN=${{ steps.setup-chrome.outputs.chrome-path }}" >> $GITHUB_ENV + echo "CHROMEDRIVER_PATH=${{ steps.setup-chrome.outputs.chromedriver-path }}" >> $GITHUB_ENV - run: npm ci - run: npx grunt - run: npm test