diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51a90c697..1657f4a72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,14 @@ jobs: - run: yarn install - run: yarn build + - name: Set Chrome Version + run: | + CHROMEVER="$(chromedriver --version | cut -d' ' -f2)" + echo "Actions ChromeDriver is $CHROMEVER" + CONTENTS="$(jq '.tunnelOptions.drivers[0].name = "chrome"' < intern.json)" + CONTENTS="$(echo ${CONTENTS} | jq --arg chromever "$CHROMEVER" '.tunnelOptions.drivers[0].version = $chromever')" + cat intern.json + - name: Test run: yarn test